Skip to content

Instantly share code, notes, and snippets.

@JoaquinAcuna97
Created November 7, 2021 21:25
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 JoaquinAcuna97/4ff0c15e0f4f749c482b9138b0f140be to your computer and use it in GitHub Desktop.
Save JoaquinAcuna97/4ff0c15e0f4f749c482b9138b0f140be to your computer and use it in GitHub Desktop.
floatingActionButton: Stack(
children: <Widget>[
Align(
alignment: Alignment.bottomLeft,
child: FloatingActionButton(
onPressed: _incrementCounter,
tooltip: 'Increment',
child: const Icon(Icons.add),
),
),
Align(
alignment: Alignment.bottomRight,
child: FloatingActionButton(
onPressed: _decrementCounter,
tooltip: 'Decrement',
child: const Icon(Icons.remove),
),
),
],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment