File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,14 +28,16 @@ class MyApp extends StatelessWidget {
2828 // This widget is the root of your application.
2929 @override
3030 Widget build (BuildContext context) {
31- return FlutterEasyLoading (
32- child: MaterialApp (
33- title: 'Flutter EasyLoading' ,
34- theme: ThemeData (
35- primarySwatch: Colors .blue,
36- ),
37- home: MyHomePage (title: 'Flutter EasyLoading' ),
31+ return MaterialApp (
32+ title: 'Flutter EasyLoading' ,
33+ theme: ThemeData (
34+ primarySwatch: Colors .blue,
3835 ),
36+ builder: (BuildContext context, Widget child) {
37+ return FlutterEasyLoading (
38+ child: MyHomePage (title: 'Flutter EasyLoading' ),
39+ );
40+ },
3941 );
4042 }
4143}
@@ -76,6 +78,7 @@ class _MyHomePageState extends State<MyHomePage> {
7678 crossAxisAlignment: CrossAxisAlignment .center,
7779 mainAxisAlignment: MainAxisAlignment .start,
7880 children: < Widget > [
81+ TextField (),
7982 Column (
8083 children: < Widget > [
8184 FlatButton (
You can’t perform that action at this time.
0 commit comments