NavigationItem constructor

const NavigationItem({
  1. Key? key,
  2. AbstractButtonStyle? selectedStyle,
  3. bool? selected,
  4. ValueChanged<bool>? onChanged,
  5. Widget? label,
  6. double? spacing,
  7. AbstractButtonStyle? style,
  8. AlignmentGeometry? alignment,
  9. int? index,
  10. bool? enabled,
  11. NavigationOverflow overflow = NavigationOverflow.marquee,
  12. AlignmentGeometry? marginAlignment,
  13. required Widget child,
})

Implementation

const NavigationItem({super.key,
  this.selectedStyle,
  this.selected,
  this.onChanged,
  super.label,
  super.spacing,
  super.style,
  super.alignment,
  this.index,
  super.enabled,
  super.overflow,
  super.marginAlignment,
  required super.child,
});