mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
google_maps: Tidyup code formatting (#1723)
This commit is contained in:
@@ -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),
|
)
|
||||||
)
|
},
|
||||||
}),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user