forked from firka/flutter
Fix newly reported prefer_const_constructors lints. (#54176)
This commit is contained in:
committed by
GitHub
parent
ba18e99d1b
commit
b0492cc976
@@ -108,7 +108,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
floatingActionButton: FloatingActionButton(
|
||||
onPressed: _incrementCounter,
|
||||
tooltip: 'Increment',
|
||||
child: Icon(Icons.add),
|
||||
child: const Icon(Icons.add),
|
||||
), // This trailing comma makes auto-formatting nicer for build methods.
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user