FloaticaMenu constructor

const FloaticaMenu({
  1. required Widget child,
  2. required Widget icon,
  3. double? height,
  4. String title = 'More',
  5. TextStyle? titleStyle,
  6. Duration? animationDuration,
  7. Curve? animationCurve,
  8. Color? selectedColor,
  9. Color? unselectedColor,
  10. FloaticaTabDisplayMode selectedDisplayMode = FloaticaTabDisplayMode.iconAndTitle,
  11. FloaticaTabDisplayMode unselectedDisplayMode = FloaticaTabDisplayMode.iconOnly,
  12. double iconSize = 22.0,
  13. double selectedIconSize = 24.0,
  14. FloaticaLabelPosition labelPosition = FloaticaLabelPosition.right,
  15. EdgeInsetsGeometry margin = const EdgeInsets.all(4),
  16. ValueChanged<bool>? onMenuToggle,
  17. Color barrierColor = const Color(0x40000000),
  18. double barrierBlur = 4.0,
  19. FloaticaMenuController? controller,
})

Creates a FloaticaMenu configuration.

Implementation

const FloaticaMenu({
  required this.child,
  required this.icon,
  this.height,
  this.title = 'More',
  this.titleStyle,
  this.animationDuration,
  this.animationCurve,
  this.selectedColor,
  this.unselectedColor,
  this.selectedDisplayMode = FloaticaTabDisplayMode.iconAndTitle,
  this.unselectedDisplayMode = FloaticaTabDisplayMode.iconOnly,
  this.iconSize = 22.0,
  this.selectedIconSize = 24.0,
  this.labelPosition = FloaticaLabelPosition.right,
  this.margin = const EdgeInsets.all(4),
  this.onMenuToggle,
  this.barrierColor = const Color(0x40000000),
  this.barrierBlur = 4.0,
  this.controller,
});