SFNavigationMenu constructor
const
SFNavigationMenu({
- Key? key,
- double? width,
- double? height,
- Color? backgroundColor,
- Color? focusedBackgroundColor,
- Color? textColor,
- Color? focusedTextColor,
- Color? outlineColor,
- double radius = 10,
- double? outlineWidth,
- Axis direction = Axis.horizontal,
- dynamic onTap()?,
- EdgeInsetsGeometry? padding,
- ScrollPhysics? physics,
- int? initialIndex,
- TextStyle? textStyle,
- List<
int> ? disabledPaddingIndex, - List<
int> ? disabledHoverIndex,
Implementation
const SFNavigationMenu({
super.key,
required this.menus,
this.width,
this.height,
this.menuSize,
this.menuSpacing = 10,
this.backgroundColor,
this.focusedBackgroundColor,
this.textColor,
this.focusedTextColor,
this.outlineColor,
this.radius = 10,
this.outlineWidth,
this.direction = Axis.horizontal,
this.onTap,
this.padding,
this.physics,
this.initialIndex,
this.textStyle,
this.disabledPaddingIndex,
this.disabledHoverIndex,
});