Sets the FAB color while the menu is open. This property takes precedence over fabColor
-
fabCloseColor
Sets the FAB color while the menu is closed. This property takes precedence over fabColor
-
fabChild
Sets the child inside the FAB. This property takes precedence over fabOpenicon and fabCloseIcon
-
fabOpenIcon
Sets the FAB icon while the menu is open
Icon(Icons.menu)
fabCloseIcon
Sets the FAB icon while the menu is closed
Icon(Icons.close)
fabMargin
Sets the widget margin
EdgeInsets.all(16.0)
animationDuration
Changes the animation duration
Duration(milliseconds: 800)
animationCurve
Allows you to modify the animation curve
Curves.easeInOutCirc
onDisplayChange
This callback is called every time the menu is opened or closed, passing the current state as a parameter.
-
Handling the menu programmatically
It is possible to handle the menu programmatically by using a key.
Just create a key and set it in the key property of the FabCircularMenuPlus, then use the key to get the current state and open, close or check the status of the menu.