Commit 3df846d5 authored by 余玠's avatar 余玠

remove redundant code

parent 901a96e2
......@@ -31,17 +31,11 @@ class _MyAppState extends State<MyApp> {
});
}
Map<String, WidgetBuilder> routes = {
"second": (BuildContext context) =>
SecondRouteWidget(),
};
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Boost example',
builder: FlutterBoost.init(postPush: _onRoutePushed),
routes: routes,
home: Container());
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment