apply upcoming lint prefer_const_literals_to_create_immutables (#14029)
This commit is contained in:
committed by
GitHub
parent
5dc4ce85d9
commit
0fe1e5bf5b
@@ -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')),
|
||||
|
||||
Reference in New Issue
Block a user