Used to toggle the on/off state of a single setting.
The switch itself does not maintain any state. Instead, when the state of the switch changes, the widget calls the onChanged callback. Most widgets that use a switch will listen for the onChanged callback and rebuild the switch with a new value to update the visual appearance of the switch.
Nesta página do site você pode assistir ao vídeo on-line 49- Flutter Switch Widget duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Mohamed Fathy Taha - Code2Start 12 Abril 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 370 vezes e gostou 7 espectadores. Boa visualização!