enabled property
bool
enabled
Whether the button is enabled or not.
Implementation
bool get enabled => onPressed != null || onLongPress != null;
Whether the button is enabled or not.
bool get enabled => onPressed != null || onLongPress != null;