activeColor property

Color? activeColor
final

Color of the switch when in the active (on) state.

If null, uses the theme's primary color.

Implementation

final Color? activeColor;