Form
Radio
A radio button that typically allows the user to choose only one of a predefined set of options.
We recommend using a select group to create a group of radio buttons instead of using FRadio directly.
CLI
To generate a specific style for customization:
dart run forui style create radioUsage
FRadio(...)
1FRadio(2 style: const .delta(motion: .delta()),3 leadingLabel: false,4 enabled: true,5 value: false,6 onChange: (value) {},7 label: const Text('Option'),8 description: const Text('Description'),9 error: null,10)Examples
Leading Label
Picker
A generic picker that allows an item to be selected. It is composed of one or more wheels, optionally with separators between those wheels. The picker supports arrow key navigation. Recommended for touch devices.
Select Group
A group of items that allow users to make a selection from a set of options.