disableColor property

Color? disableColor
final

The disable Color of the Switcher. Is displayed when the inner control value is equal to false. The default value is:

Theme.of(context).disabledColor;

Example of usage:

Switcher(
  disableColor: Colors.blueGrey[300],
  // other properties
);

Implementation

final Color? disableColor;