NavigationBar constructor

const NavigationBar({
  1. Key? key,
  2. Color? backgroundColor,
  3. NavigationBarAlignment? alignment,
  4. Axis? direction,
  5. double? spacing,
  6. NavigationLabelType? labelType,
  7. NavigationLabelPosition? labelPosition,
  8. NavigationLabelSize? labelSize,
  9. EdgeInsetsGeometry? padding,
  10. BoxConstraints? constraints,
  11. bool? expands,
  12. int? index,
  13. ValueChanged<int>? onSelected,
  14. double? surfaceOpacity,
  15. double? surfaceBlur,
  16. bool? expanded,
  17. bool? keepCrossAxisSize,
  18. bool? keepMainAxisSize,
  19. 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,
});