BasicSwitchBehavior

constructor(    onBackground: Color = Blue,     onForeground: Color = White,     offBackground: Color = Lightgray,     offForeground: Color = onForeground,     focusManager: FocusManager? = null)(source)