enabled property

bool? enabled
final

Controls the enabled state of the switch. When false, this button will not be clickable.

Implementation

final bool? enabled;