Skip to content

Instantly share code, notes, and snippets.

@kenzieschmoll
Last active October 25, 2021 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenzieschmoll/21013b3f585e1a75929773bdd02df4a3 to your computer and use it in GitHub Desktop.
Save kenzieschmoll/21013b3f585e1a75929773bdd02df4a3 to your computer and use it in GitHub Desktop.
Maps Sample V2 - add onAddmarkerButtonPressed() pt 1.
final Set<Marker> _markers = {};
@override
Widget build(BuildContext context) {
return MaterialApp(
...
GoogleMap(
...
markers: _markers,
),
);
}
@diwakar85
Copy link

help full website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment