CNNavigationBarAction constructor

const CNNavigationBarAction({
  1. CNSymbol? icon,
  2. String? imageAsset,
  3. String? label,
  4. VoidCallback? onPressed,
  5. double? padding,
  6. double? labelSize,
  7. double? iconSize,
  8. Color? tint,
  9. String? badgeValue,
  10. Color? badgeColor,
})

Creates a navigation bar action item.

Implementation

const CNNavigationBarAction({
  this.icon,
  this.imageAsset,
  this.label,
  this.onPressed,
  this.padding,
  this.labelSize,
  this.iconSize,
  this.tint,
  this.badgeValue,
  this.badgeColor,
}) : popupMenuItems = null,
     onPopupMenuSelected = null,
     segmentedControlLabels = null,
     segmentedControlSelectedIndex = null,
     onSegmentedControlValueChanged = null,
     segmentedControlHeight = null,
     segmentedControlWidth = null,
     _isFixedSpace = false,
     _isFlexibleSpace = false,
     _usePopupMenuButton = false,
     _usePullDownButton = false;