View horizontallist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:meta/meta.dart'; | |
final colorBackground = const Color(0xFFF3F4F7); | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
@override |
View animateScale.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
enum AnimationOptions { None, Transform } | |
void main() { | |
var app = new Scaffold( | |
body:new AnimationDemo() | |
); |
View animatePerspective.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
enum AnimationOptions { None, Transform } | |
void main() { | |
var app = new Scaffold( | |
body:new AnimationDemo() | |
); |
View textfield.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
void main() { | |
runApp(new MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { |
View column.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
void main() { | |
runApp(new MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { |
View flexlayout.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(new AnimatedListSample()); | |
} | |
class AnimatedListSample extends StatelessWidget{ | |
final GlobalKey<AnimatedListState> _listKey = | |
new GlobalKey<AnimatedListState>(); | |
View future.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
main() { | |
runApp(new TestSample()); | |
} | |
class TestSample extends StatelessWidget{ | |
@override | |
Widget build(BuildContext context) { | |
var widget = new MaterialApp( | |
home: new Scaffold( |
View inkwellsample.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
main() { | |
runApp(new TestSample()); | |
} | |
class TestSample extends StatelessWidget{ | |
@override | |
Widget build(BuildContext context) { | |
var widget = new MaterialApp( |
View textfield.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
main() { | |
runApp(new Home()); | |
} | |
class MyFormatter extends TextInputFormatter { | |
MyFormatter(); |
View animatedlist.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/foundation.dart'; | |
main() { | |
runApp(new TestSample()); | |
} | |
class TestSample extends StatelessWidget{ | |
@override | |
Widget build(BuildContext context) { |
OlderNewer