NavigationButton constructor
const
NavigationButton({
- Key? key,
- double? spacing,
- Widget? trailing,
- Widget? label,
- AbstractButtonStyle? style,
- AbstractButtonStyle? selectedStyle,
- AlignmentGeometry? alignment,
- int? index,
- ValueChanged<
bool> ? onChanged, - bool? selected,
- bool? enabled,
- NavigationOverflow overflow = NavigationOverflow.marquee,
- AlignmentGeometry? marginAlignment,
- 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,
});