@@ -462,8 +462,8 @@ class CardCollectionState extends State<CardCollection> {
|
||||
void main() {
|
||||
runApp(new MaterialApp(
|
||||
title: 'Cards',
|
||||
routes: <String, RouteBuilder>{
|
||||
'/': (RouteArguments args) => new CardCollection(),
|
||||
routes: <String, WidgetBuilder>{
|
||||
'/': (BuildContext context) => new CardCollection(),
|
||||
}
|
||||
));
|
||||
}
|
||||
|
||||
@@ -283,8 +283,8 @@ class DragAndDropAppState extends State<DragAndDropApp> {
|
||||
void main() {
|
||||
runApp(new MaterialApp(
|
||||
title: 'Drag and Drop Flutter Demo',
|
||||
routes: <String, RouteBuilder>{
|
||||
'/': (RouteArguments args) => new DragAndDropApp()
|
||||
routes: <String, WidgetBuilder>{
|
||||
'/': (BuildContext context) => new DragAndDropApp()
|
||||
}
|
||||
));
|
||||
}
|
||||
|
||||
@@ -238,6 +238,6 @@ class _WindowManagerState extends State<WindowManager> {
|
||||
void main() {
|
||||
runApp(new MaterialApp(
|
||||
title: 'Mozart',
|
||||
routes: <String, RouteBuilder>{ '/': (_) => new WindowManager() }
|
||||
routes: <String, WidgetBuilder>{ '/': (_) => new WindowManager() }
|
||||
));
|
||||
}
|
||||
|
||||
@@ -179,8 +179,8 @@ void main() {
|
||||
accentColor: Colors.redAccent[200]
|
||||
),
|
||||
title: 'Cards',
|
||||
routes: <String, RouteBuilder>{
|
||||
'/': (RouteArguments args) => new OverlayGeometryApp()
|
||||
routes: <String, WidgetBuilder>{
|
||||
'/': (BuildContext context) => new OverlayGeometryApp()
|
||||
}
|
||||
));
|
||||
}
|
||||
|
||||
@@ -142,8 +142,8 @@ void main() {
|
||||
primarySwatch: Colors.blue,
|
||||
accentColor: Colors.redAccent[200]
|
||||
),
|
||||
routes: <String, RouteBuilder>{
|
||||
'/': (RouteArguments args) => new PageableListApp(),
|
||||
routes: <String, WidgetBuilder>{
|
||||
'/': (BuildContext context) => new PageableListApp(),
|
||||
}
|
||||
));
|
||||
}
|
||||
|
||||
@@ -12,8 +12,8 @@ void main() {
|
||||
runApp(
|
||||
new MaterialApp(
|
||||
title: "Hardware Key Demo",
|
||||
routes: <String, RouteBuilder>{
|
||||
'/': (RouteArguments args) {
|
||||
routes: <String, WidgetBuilder>{
|
||||
'/': (BuildContext context) {
|
||||
return new Scaffold(
|
||||
toolBar: new ToolBar(
|
||||
center: new Text("Hardware Key Demo")
|
||||
|
||||
Reference in New Issue
Block a user