Skip to content

Instantly share code, notes, and snippets.

@kenzieschmoll
Last active December 19, 2018 16:01
Show Gist options
  • Save kenzieschmoll/3052c08cab20604e3105a787fabf8a9e to your computer and use it in GitHub Desktop.
Save kenzieschmoll/3052c08cab20604e3105a787fabf8a9e to your computer and use it in GitHub Desktop.
maps sample - add second fab
Align(
alignment: Alignment.topRight,
child: Column(
children: <Widget>[
FloatingActionButton(
...
),
SizedBox(height: 16.0),
FloatingActionButton(
onPressed: _onAddMarkerButtonPressed,
materialTapTargetSize: MaterialTapTargetSize.padded,
backgroundColor: Colors.green,
child: const Icon(Icons.add_location, size: 36.0),
),
],
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment