enabled property
bool
get
enabled
Whether the badge is enabled or disabled.
Implementation
bool get enabled => onPressed != null;
Whether the badge is enabled or disabled.
bool get enabled => onPressed != null;