File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import 'package:flutter/material.dart' ;
2+ import 'package:flutter/services.dart' ;
23import 'package:flutter_samples/animations/main_animations.dart' ;
34import 'package:flutter_samples/app_clone/main_apps_clone.dart' ;
45import 'package:flutter_samples/appbar_sliverappbar/main_appbar_sliverappbar.dart' ;
@@ -29,12 +30,12 @@ class MyApp extends StatefulWidget {
2930
3031class MyAppState extends State <MyApp > {
3132 onButtonTap (Widget page) {
32- Navigator .push (
33- context, MaterialPageRoute (builder: (BuildContext context) => page));
33+ Navigator .push (context, MaterialPageRoute (builder: (BuildContext context) => page));
3434 }
3535
3636 @override
3737 Widget build (BuildContext context) {
38+ SystemChrome .setEnabledSystemUIOverlays ([SystemUiOverlay .bottom]);
3839 return Scaffold (
3940 appBar: AppBar (
4041 title: Text ("Flutter Samples" ),
You can’t perform that action at this time.
0 commit comments