|
@@ -53,7 +53,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
children: <Widget>[
|
|
|
Text(
|
|
|
- '你已经按了很多次了:',
|
|
|
+ '你已经按了很多次了开始吧:',
|
|
|
),
|
|
|
Text(
|
|
|
'$_counter',
|
|
@@ -145,17 +145,3 @@ class NewRoute extends StatelessWidget {
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-class NewRoute2 extends StatelessWidget {
|
|
|
- @override
|
|
|
- Widget build(BuildContext context) {
|
|
|
- return Scaffold(
|
|
|
- appBar: AppBar(
|
|
|
- title: Text("New route"),
|
|
|
- ),
|
|
|
- body: Center(
|
|
|
- child: Text("This is new route"),
|
|
|
- ),
|
|
|
- );
|
|
|
- }
|
|
|
-}
|