enabled property

bool? enabled
final

Whether the switch is interactive.

When false, the switch is disabled. Defaults to true.

Implementation

final bool? enabled;