ExpandableFabMenu constructor

const ExpandableFabMenu({
  1. Key? key,
  2. List<ExpandableFabMenuItem> children = const [],
  3. bool scrollVisible = true,
  4. String? title,
  5. String? subtitle,
  6. required Color backgroundColor,
  7. Color? titleColor,
  8. Color? subTitleColor,
  9. Color? foregroundColor,
  10. double elevation = 6.0,
  11. double overlayOpacity = 0.8,
  12. Color overlayColor = Colors.white,
  13. AnimatedIconData? animatedIcon,
  14. IconThemeData? animatedIconTheme,
  15. required Widget? child,
  16. double marginBottom = 0,
  17. double marginLeft = 16,
  18. double marginRight = 0,
  19. VoidCallback? onOpen,
  20. VoidCallback? onClose,
  21. bool overlayVisible = false,
  22. ShapeBorder fabMenuBorder = const CircleBorder(),
  23. Alignment fabAlignment = Alignment.centerRight,
  24. double fabPaddingRight = 0,
  25. double fabPaddingLeft = 0,
  26. double fabPaddingTop = 0,
  27. VoidCallback? onPress,
  28. int animationSpeed = 150,
})

Implementation

const ExpandableFabMenu(
   {Key? key, this.children = const [],
   this.scrollVisible = true,
   this.title,
   this.subtitle,
   required this.backgroundColor,
   this.titleColor,
   this.subTitleColor,
   this.foregroundColor,
   this.elevation = 6.0,
   this.overlayOpacity = 0.8,
   this.overlayColor = Colors.white,
   this.animatedIcon,
   this.animatedIconTheme,
   required this.child,
   this.marginBottom = 0,
   this.marginLeft = 16,
   this.marginRight = 0,
   this.onOpen,
   this.onClose,
   this.overlayVisible = false,
   this.fabMenuBorder = const CircleBorder(),
   this.fabAlignment = Alignment.centerRight,
   this.fabPaddingRight = 0,
   this.fabPaddingLeft = 0,
   this.fabPaddingTop = 0,
   this.onPress,
   this.animationSpeed = 150,
   }) : super(key: key);