activeColor property

Color? activeColor
final

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

Theme.of(context).accentColor;

Example of usage:

Switcher(
  activeColor: Colors.amber,
  // other properties
);

Implementation

final Color? activeColor;