BaseToolbarAction constructor
const
BaseToolbarAction({})
Implementation
const BaseToolbarAction({
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,
assert(icon != null || label != null, 'Either icon or label must be provided');