AbstractNavigationButton constructor
const
AbstractNavigationButton({
- Key? key,
- double? spacing,
- Widget? label,
- AbstractButtonStyle? style,
- AlignmentGeometry? alignment,
- bool? enabled,
- NavigationOverflow overflow = NavigationOverflow.marquee,
- AlignmentGeometry? marginAlignment,
- required Widget child,
Creates an abstract navigation button.
Parameters:
child(Widget, required): Main content (icon)spacing(double?): Icon-label spacinglabel(Widget?): Label widgetstyle(AbstractButtonStyle?): Button stylealignment(AlignmentGeometry?): Content alignmentenabled(bool?): Enabled stateoverflow(NavigationOverflow): Overflow behavior, defaults to marqueemarginAlignment(AlignmentGeometry?): Margin alignment
Implementation
const AbstractNavigationButton({
super.key,
this.spacing,
this.label,
this.style,
this.alignment,
this.enabled,
this.overflow = NavigationOverflow.marquee,
this.marginAlignment,
required this.child,
});