BaseNavigationBarAction constructor
const
BaseNavigationBarAction({})
Implementation
const BaseNavigationBarAction({
this.icon,
this.label,
this.onPressed,
this.tint,
this.padding,
this.labelSize = 15,
this.iconSize = 16,
this.badgeValue,
this.badgeColor,
}) : popupMenuItems = null,
onPopupMenuSelected = null,
_isFixedSpace = false,
_isFlexibleSpace = false,
_usePopupMenuButton = false,
_spaceWidth = null,
_isImageAction = false,
_materialImage = null,
_iosImage = null,
_imageWidth = null,
_imageHeight = null,
assert(icon != null || label != null,
'Either icon or label must be provided');