disabled property

bool disabled
final

When true the switch is rendered at 50 % opacity and ignores taps.

Implementation

final bool disabled;