Skip to Content
Forui 0.11.0 is released 🎉

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.

Usage

FLabel(...)

FLabel( axis: Axis.horizontal, 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.'), states: { WidgetState.error }, child: const Placeholder(), );

Examples

Vertical

Disabled

Error

Last updated on