FloatExpendButton constructor

const FloatExpendButton({
  1. required dynamic callback(
    1. int index
    ),
  2. required List<FloatButtonStyle> iconList,
  3. double? fabHeight = 30,
  4. double? tabSpace = 10,
  5. Color? mainTabBeginColor = Colors.red,
  6. Color? mainTabAfterColor = Colors.grey,
  7. AnimatedIconData? mainAnimatedIcon = AnimatedIcons.menu_close,
  8. double? iconSize = 15,
  9. Curve? curve = Curves.easeOut,
  10. Duration? duration = const Duration(milliseconds: 300),
  11. ButtonType? type = ButtonType.left,
  12. 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);