Universal two-state toggle component.
If true the user won't be able to toggle the switch. Default value is false.
Invoked with the new value when the value changes.
Used to locate this view in end-to-end tests.
The value of the switch. If true the switch will be turned on. Default value is false.
Background color when the switch is turned on.
Color of the foreground switch grip.
Background color when the switch is turned off.