HawkFabMenu constructor

HawkFabMenu({
  1. Key? key,
  2. required Widget body,
  3. required List<HawkFabMenuItem> items,
  4. double blur = 5.0,
  5. AnimatedIconData? icon,
  6. Color? fabColor,
  7. Color? iconColor,
  8. Color? backgroundColor,
  9. BorderSide buttonBorder = BorderSide.none,
  10. IconData? openIcon,
  11. IconData? closeIcon,
  12. String? heroTag,
  13. 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);
}