NavigationBar constructor
const
NavigationBar({
- Key? key,
- Color? backgroundColor,
- NavigationBarAlignment? alignment,
- Axis? direction,
- double? spacing,
- NavigationLabelType? labelType,
- NavigationLabelPosition? labelPosition,
- NavigationLabelSize? labelSize,
- EdgeInsetsGeometry? padding,
- BoxConstraints? constraints,
- bool? expands,
- int? index,
- ValueChanged<
int> ? onSelected, - double? surfaceOpacity,
- double? surfaceBlur,
- bool? expanded,
- bool? keepCrossAxisSize,
- bool? keepMainAxisSize,
- required List<
NavigationBarItem> children,
Implementation
const NavigationBar({
super.key,
this.backgroundColor,
this.alignment,
this.direction,
this.spacing,
this.labelType,
this.labelPosition,
this.labelSize,
this.padding,
this.constraints,
this.expands,
this.index,
this.onSelected,
this.surfaceOpacity,
this.surfaceBlur,
this.expanded,
this.keepCrossAxisSize,
this.keepMainAxisSize,
required this.children,
});