1
0
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:
Brett Morgan
2023-04-06 04:42:39 +10:00
committed by GitHub
parent 1c127bc2c9
commit 68a5f097ce

View File

@@ -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),
)
},
),
),
);
}