mirror of
https://github.com/flutter/flutter
synced 2024-10-13 19:52:53 +00:00
Fix lints (#9307)
This commit is contained in:
parent
7ce1cfd48d
commit
4f258357c9
|
@ -203,7 +203,7 @@ class FullScreenDialogDemoState extends State<FullScreenDialogDemo> {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
const Text('All-day')
|
const Text('All-day'),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
new Container(
|
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(
|
await tester.pumpWidget(
|
||||||
new MaterialApp(
|
new MaterialApp(
|
||||||
theme: new ThemeData(platform: platform),
|
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>(
|
tester.state<NavigatorState>(find.byType(Navigator)).push(new MaterialPageRoute<Null>(
|
||||||
builder: (BuildContext context) {
|
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,
|
fullscreenDialog: true,
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in a new issue