SFNavigationMenu constructor

const SFNavigationMenu({
  1. Key? key,
  2. required List<Widget> menus,
  3. double? width,
  4. double? height,
  5. double? menuSize,
  6. double menuSpacing = 10,
  7. Color? backgroundColor,
  8. Color? focusedBackgroundColor,
  9. Color? textColor,
  10. Color? focusedTextColor,
  11. Color? outlineColor,
  12. double radius = 10,
  13. double? outlineWidth,
  14. Axis direction = Axis.horizontal,
  15. dynamic onTap(
    1. int
    )?,
  16. EdgeInsetsGeometry? padding,
  17. ScrollPhysics? physics,
  18. int? initialIndex,
  19. TextStyle? textStyle,
  20. List<int>? disabledPaddingIndex,
  21. 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,
});