apply upcoming lint prefer_const_literals_to_create_immutables (#14029)

This commit is contained in:
Alexandre Ardhuin
2018-01-11 08:38:55 +01:00
committed by GitHub
parent 5dc4ce85d9
commit 0fe1e5bf5b
63 changed files with 436 additions and 432 deletions

View File

@@ -66,7 +66,7 @@ class DriverTestAppState extends State<DriverTestApp> {
_selectedValue = newValue;
});
},
items: <DropdownMenuItem<Letter>>[
items: const <DropdownMenuItem<Letter>>[
const DropdownMenuItem<Letter>(
value: Letter.a,
child: const Text('Aaa', key: const ValueKey<String>('a')),