HawkFabMenu constructor
HawkFabMenu({
- Key? key,
- required Widget body,
- required List<
HawkFabMenuItem> items, - double blur = 5.0,
- AnimatedIconData? icon,
- Color? fabColor,
- Color? iconColor,
- Color? backgroundColor,
- BorderSide buttonBorder = BorderSide.none,
- IconData? openIcon,
- IconData? closeIcon,
- String? heroTag,
- HawkFabMenuController? hawkFabMenuController,
Implementation
HawkFabMenu({
Key? key,
required this.body,
required this.items,
this.blur = 5.0,
this.icon,
this.fabColor,
this.iconColor,
this.backgroundColor,
this.buttonBorder = BorderSide.none,
this.openIcon,
this.closeIcon,
this.heroTag,
this.hawkFabMenuController,
}) : super(key: key) {
assert(items.isNotEmpty);
}