Last active
February 28, 2019 01:30
-
-
Save kenzieschmoll/5bd83757013f9bbf71cc86c80619b648 to your computer and use it in GitHub Desktop.
Maps Sample V2 - change map appearance pt 2
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
void _onMapTypeButtonPressed() { | |
setState(() { | |
_currentMapType = _currentMapType == MapType.normal | |
? MapType.satellite | |
: MapType.normal; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment