DocumentationSwitchSwitch A switch that allows the user to toggle between checked and unchecked. It can also be used in a form. API Reference PreviewCode Usage FSwitch(...) FSwitch( enabled: true, initialValue: true, autofocus: true, onChanged: (value) {}, ); Examples Disabled PreviewCode Form PreviewCodeScaffoldTabs