`google_maps`: Tidyup code formatting (#1723)

pull/1724/head
Brett Morgan 2 years ago committed by GitHub
parent 1c127bc2c9
commit 68a5f097ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,18 +44,18 @@ class _MyAppState extends State<MyApp> {
backgroundColor: Colors.green[700], backgroundColor: Colors.green[700],
), ),
body: GoogleMap( body: GoogleMap(
onMapCreated: _onMapCreated, onMapCreated: _onMapCreated,
initialCameraPosition: CameraPosition( initialCameraPosition: CameraPosition(
target: _center, target: _center,
zoom: 11.0, zoom: 11.0,
), ),
markers: { markers: {
// ignore: prefer_const_constructors const Marker(
Marker( markerId: MarkerId('Sydney'),
markerId: const MarkerId('Sydney'), position: LatLng(-33.86, 151.20),
position: const LatLng(-33.86, 151.20), )
) },
}), ),
), ),
); );
} }

Loading…
Cancel
Save