Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I'm Fluttering!

Ahmed Tarek tarek360

💭
I'm Fluttering!
View GitHub Profile
View display_image.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
var title = 'Web Images';
return MaterialApp(
@tarek360
tarek360 / profile_header.dart
Created Feb 7, 2020
profile_header - user, profile, avatar, circle, circular, curved, header
View profile_header.dart
import 'package:flutter/material.dart';
import 'dart:math' as math;
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Custom Widget Catalog',
@tarek360
tarek360 / social_rounded_buttons_with_text.dart
Last active Feb 7, 2020
Social rounded buttons with text - github, facebook, twitter, google
View social_rounded_buttons_with_text.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Custom Widget Catalog',
home: Scaffold(
@tarek360
tarek360 / social_circular_buttons.dart
Last active Feb 7, 2020
Social Circular Buttons - github, facebook, twitter, google
View social_circular_buttons.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Custom Widget Catalog',
home: Scaffold(
@tarek360
tarek360 / otp_widget.dart
Created Feb 7, 2020
OTP, pin code, keypad
View otp_widget.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Custom Widget Catalog',
home: Scaffold(
View spinner_001.dart
import 'dart:ui';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
View custom_decoration.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
View spinner_demo.dart
import 'package:flutter/material.dart';
import 'dart:math';
void main() {
runApp(SpinnerDemo());
}
class SpinnerDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
@tarek360
tarek360 / safe_pace.dart
Created Dec 27, 2019
SafeSpace top or bottom, (in progress)
View safe_pace.dart
import 'package:flutter/widgets.dart';
enum _Position {
bottom,
top,
right,
left,
}
class SafeSpace extends StatelessWidget {
@tarek360
tarek360 / top_alert.dart
Created Dec 10, 2019
A TopAlert to show at the top of any page (widget).
View top_alert.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Top Alert View',
theme: ThemeData(