ExpandableFabMenu constructor
const
ExpandableFabMenu({
- Key? key,
- List<
ExpandableFabMenuItem> children = const [], - bool scrollVisible = true,
- String? title,
- String? subtitle,
- required Color backgroundColor,
- Color? titleColor,
- Color? subTitleColor,
- Color? foregroundColor,
- double elevation = 6.0,
- double overlayOpacity = 0.8,
- Color overlayColor = Colors.white,
- AnimatedIconData? animatedIcon,
- IconThemeData? animatedIconTheme,
- required Widget? child,
- double marginBottom = 0,
- double marginLeft = 16,
- double marginRight = 0,
- VoidCallback? onOpen,
- VoidCallback? onClose,
- bool overlayVisible = false,
- ShapeBorder fabMenuBorder = const CircleBorder(),
- Alignment fabAlignment = Alignment.centerRight,
- double fabPaddingRight = 0,
- double fabPaddingLeft = 0,
- double fabPaddingTop = 0,
- VoidCallback? onPress,
- 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);