style property

SeniorSwitchStyle? style
final

The component's style definitions.

Allows you to configure: SeniorSwitchStyle.activeColor the color to use when this switch is on. SeniorSwitchStyle.disabledTextColor the color of the switch's title text when it is disabled. SeniorSwitchStyle.textColor the switch title text color. SeniorSwitchStyle.trackColor the color of this Switch's track.

Implementation

final SeniorSwitchStyle? style;