FloaticaMenu constructor
const
FloaticaMenu({
- required Widget child,
- required Widget icon,
- double? height,
- String title = 'More',
- TextStyle? titleStyle,
- Duration? animationDuration,
- Curve? animationCurve,
- Color? selectedColor,
- Color? unselectedColor,
- FloaticaTabDisplayMode selectedDisplayMode = FloaticaTabDisplayMode.iconAndTitle,
- FloaticaTabDisplayMode unselectedDisplayMode = FloaticaTabDisplayMode.iconOnly,
- double iconSize = 22.0,
- double selectedIconSize = 24.0,
- FloaticaLabelPosition labelPosition = FloaticaLabelPosition.right,
- EdgeInsetsGeometry margin = const EdgeInsets.all(4),
- ValueChanged<
bool> ? onMenuToggle, - Color barrierColor = const Color(0x40000000),
- double barrierBlur = 4.0,
- 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,
});