Documentation
Switch

Switch

A switch that allows the user to toggle between checked and unchecked. It can also be used in a form.

Usage

FSwitch(...)

FSwitch(
  enabled: true,
  initialValue: true,
  autofocus: true,
  onChanged: (value) {},
);

Examples

Disabled

Form