How to place floating button in center
Closed this issue · 2 comments
sandyara commented
How to place floating button in center
eliasjtg commented
Same issue
marianocordoba commented
You can place FAB in the center of the screen by using the new alignment
property added in version 1.0.0
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Placeholder(),
floatingActionButton: FabCircularMenu(
alignment: Alignment.bottomCenter
children: <Widget>[
// ...
]
)
)
);
}
}