Last active
March 15, 2019 18:52
-
-
Save kenzieschmoll/ec82a68858e8c88f0d2d8768666a8bff to your computer and use it in GitHub Desktop.
Maps Sample V2 - change the map appearance pt 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MapType _currentMapType = MapType.normal; | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
... | |
GoogleMap( | |
... | |
mapType: _currentMapType, | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment