This commit is contained in:
xster 2017-04-10 02:09:51 -07:00 committed by GitHub
parent 7ce1cfd48d
commit 4f258357c9
2 changed files with 4 additions and 4 deletions

View file

@ -203,7 +203,7 @@ class FullScreenDialogDemoState extends State<FullScreenDialogDemo> {
});
}
),
const Text('All-day')
const Text('All-day'),
]
),
new Container(
@ -221,7 +221,7 @@ class FullScreenDialogDemoState extends State<FullScreenDialogDemo> {
});
}
),
new Text('All-day')
const Text('All-day'),
]
)
)

View file

@ -334,13 +334,13 @@ void main() {
await tester.pumpWidget(
new MaterialApp(
theme: new ThemeData(platform: platform),
home: new Scaffold(appBar: new AppBar(), body: new Text('Page 1')),
home: new Scaffold(appBar: new AppBar(), body: const Text('Page 1')),
)
);
tester.state<NavigatorState>(find.byType(Navigator)).push(new MaterialPageRoute<Null>(
builder: (BuildContext context) {
return new Scaffold(appBar: new AppBar(), body: new Text('Page 2'));
return new Scaffold(appBar: new AppBar(), body: const Text('Page 2'));
},
fullscreenDialog: true,
));