dialRoot property

(Widget Function(BuildContext context, bool open, VoidCallback toggleChildren)?) dialRoot
final

If Provided then it will replace the default Floating Action Button and will show the Widget Specified as dialRoot instead, it will also ignore backgroundColor, foregroundColor or any other property that was specific to FAB before like onPress, you will have to provide it again to your dialRoot button.

Implementation

final Widget Function(
    BuildContext context, bool open, VoidCallback toggleChildren)? dialRoot;