activeColor property

  1. @Deprecated('Use activeThumbColor or activeTrackColor instead. ' 'This feature was deprecated after v3.31.0-2.0.pre.')
Color? activeColor
final

The color to use when this switch is on.

Defaults to ColorScheme.secondary of the current Theme.

Implementation

@Deprecated(
  'Use activeThumbColor or activeTrackColor instead. '
  'This feature was deprecated after v3.31.0-2.0.pre.',
)
final Color? activeColor;