Commit 4f258357 authored by xster's avatar xster Committed by GitHub

Fix lints (#9307)

parent 7ce1cfd4
......@@ -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'),
]
)
)
......
......@@ -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,
));
......
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