pub fn switch<'a, Message>(is_on: bool) -> Switch<'a, Message>
switch
Creates a switch that is on when is_on is true.
is_on