isEnabled property

bool get isEnabled

Implementation

bool get isEnabled => onPressed != null;