Analyzer fix that wasn't caught in the PR originally (#38348)

This commit is contained in:
rami-a
2019-08-12 17:55:27 -04:00
committed by GitHub
parent 0f3919e539
commit 232dce966b

View File

@@ -49,7 +49,7 @@ class _BannerDemoState extends State<BannerDemo> {
Widget build(BuildContext context) {
final Widget banner = MaterialBanner(
content: const Text('Your password was updated on your other device. Please sign in again.'),
leading: _showLeading ? CircleAvatar(child: Icon(Icons.access_alarm)) : null,
leading: _showLeading ? const CircleAvatar(child: Icon(Icons.access_alarm)) : null,
actions: <Widget>[
FlatButton(
child: const Text('SIGN IN'),