Checkbox
A control that allows the user to toggle between checked and not checked.
For touch devices, a switch is generally recommended over a checkbox.
We recommend using a select group to create a group of checkboxes.
Usage
FCheckbox(...)
FCheckbox(
label: const Text('Accept terms and conditions'),
description: const Text('You agree to our terms and conditions.'),
error: const Text('Please accept the terms and conditions.'),
semanticLabel: 'Accept terms and conditions',
value: true,
onChanged: (value) {},
enabled: true,
autofocus: true,
);