First define the Controller
for the GoogleMap
GoogleMapController mapController;
And now add that Controller
to set the map style for the map in your GoogleMap Widget.
onMapCreated: (GoogleMapController controller) {
mapController = controller;
mapController.setMapStyle(mapStyle);
// _controller.complete(controller);
},
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…