Skip to content

Instantly share code, notes, and snippets.

View FlutterZeroGit's full-sized avatar

FlutterZero FlutterZeroGit

View GitHub Profile
@FlutterZeroGit
FlutterZeroGit / main.dart
Last active August 18, 2022 22:29
GestureDetector
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
void hello() {
print('Hello World');
}
@override
@FlutterZeroGit
FlutterZeroGit / main.dart
Last active July 10, 2022 11:16
InkWell
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
@FlutterZeroGit
FlutterZeroGit / main.dart
Created July 10, 2022 11:17
InkWell-borderRadius
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
@FlutterZeroGit
FlutterZeroGit / main.dart
Last active July 11, 2022 00:56
IconButton-basic
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@FlutterZeroGit
FlutterZeroGit / main.dart
Last active July 11, 2022 01:11
IconButton-effect
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@FlutterZeroGit
FlutterZeroGit / main.dart
Last active July 11, 2022 04:47
AnimatedOpacity
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
State<MyApp> createState() => _MyAppState();
}
@FlutterZeroGit
FlutterZeroGit / main.dart
Last active July 13, 2022 00:28
AnimatedContainer
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
State<MyApp> createState() => _MyAppState();
}
@FlutterZeroGit
FlutterZeroGit / main.dart
Created July 13, 2022 00:56
AnimatedContainer-curves
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
State<MyApp> createState() => _MyAppState();
}
@FlutterZeroGit
FlutterZeroGit / main.dart
Created July 13, 2022 00:56
AnimatedContainer-curves
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
State<MyApp> createState() => _MyAppState();
}
@FlutterZeroGit
FlutterZeroGit / main.dart
Last active July 13, 2022 02:56
Image.network
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
State<MyApp> createState() => _MyAppState();
}