How can I position multiple floating action button in Flutter. In particular I need one button in the bottom-right of the screen and another one in the top left.
Use Column and add two floating buttons inside it one is on the top left and the second one is on the bottom right
Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: <Widget>[
Align(
alignment: Alignment.topLeft,
child: FloatingActionButton(
tooltip: 'Increment',
child: Icon(Icons.add),
),
),
Expanded(
child: Align(
alignment: Alignment.bottomRight,
child: FloatingActionButton(
tooltip: 'Increment',
child: Icon(Icons.add),
),
),
)
],
),
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With