FloatExpendButton constructor
const
FloatExpendButton({
- required dynamic callback(
- int index
- required List<
FloatButtonStyle> iconList, - double? fabHeight = 30,
- double? tabSpace = 10,
- Color? mainTabBeginColor = Colors.red,
- Color? mainTabAfterColor = Colors.grey,
- AnimatedIconData? mainAnimatedIcon = AnimatedIcons.menu_close,
- double? iconSize = 15,
- Curve? curve = Curves.easeOut,
- Duration? duration = const Duration(milliseconds: 300),
- ButtonType? type = ButtonType.left,
- Key? key,
Implementation
const FloatExpendButton({
required this.callback,
required this.iconList,
this.fabHeight = 30,
this.tabSpace = 10,
this.mainTabBeginColor = Colors.red,
this.mainTabAfterColor = Colors.grey,
this.mainAnimatedIcon = AnimatedIcons.menu_close,
this.iconSize = 15,
this.curve = Curves.easeOut,
this.duration = const Duration(milliseconds: 300),
this.type = ButtonType.left,
Key? key,
}) : super(key: key);