mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +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],
|
||||
),
|
||||
body: GoogleMap(
|
||||
onMapCreated: _onMapCreated,
|
||||
initialCameraPosition: CameraPosition(
|
||||
target: _center,
|
||||
zoom: 11.0,
|
||||
),
|
||||
markers: {
|
||||
// ignore: prefer_const_constructors
|
||||
Marker(
|
||||
markerId: const MarkerId('Sydney'),
|
||||
position: const LatLng(-33.86, 151.20),
|
||||
)
|
||||
}),
|
||||
onMapCreated: _onMapCreated,
|
||||
initialCameraPosition: CameraPosition(
|
||||
target: _center,
|
||||
zoom: 11.0,
|
||||
),
|
||||
markers: {
|
||||
const Marker(
|
||||
markerId: MarkerId('Sydney'),
|
||||
position: LatLng(-33.86, 151.20),
|
||||
)
|
||||
},
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user