fix an analyzer warning (#10018)

This commit is contained in:
Jason Simmons
2017-05-11 17:09:29 -07:00
committed by GitHub
parent bbe67c3f48
commit 303d4dcbc0

View File

@@ -55,7 +55,7 @@ class _MyHomePageState extends State<MyHomePage> {
key: const Key(keys.kUnfocusButton),
onPressed: () { textField.focusNode.unfocus(); },
tooltip: 'Unfocus',
child: new Icon(Icons.done),
child: const Icon(Icons.done),
),
);
}