Form
Label
Describes a form field with a label, description, and error message (if any). This widget is usually used for custom form fields. All form fields in Forui come with this widget wrapped.
CLI
To generate a specific style for customization:
dart run forui style create labelsUsage
FLabel(...)
1FLabel(2 style: .delta(labelPadding: .value(.zero)),3 layout: .vertical,4 expands: false,5 variants: {},6 label: Text('Label'),7 description: Text('Description'),8 error: Text('Error message'),9 child: Placeholder(),10)Examples
Vertical
Disabled
Error
Date Time Picker
A date and time picker that allows a date and time to be selected. The picker supports arrow key navigation. Recommended for touch devices.
Multi Select
A multi select displays a list of drop-down options for the user to pick from. It is a form-field and can therefore be used in a form.