mirror of
https://github.com/flutter/samples.git
synced 2025-11-12 15:58:32 +00:00
Removed redundant "const" and "new" assignments & Formatted code. (#58)
This commit is contained in:
committed by
Andrew Brogdon
parent
be35972637
commit
8fe2999ee8
@@ -233,8 +233,8 @@ class PlaceMapState extends State<PlaceMap> {
|
||||
Scaffold.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
duration: Duration(seconds: 3),
|
||||
content: const Text('New place added.',
|
||||
style: const TextStyle(fontSize: 16.0)),
|
||||
content:
|
||||
const Text('New place added.', style: TextStyle(fontSize: 16.0)),
|
||||
action: SnackBarAction(
|
||||
label: 'Edit',
|
||||
onPressed: () async {
|
||||
|
||||
Reference in New Issue
Block a user