NavigationButton constructor

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

Implementation

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