inputs library

Form fields, pickers, dropdowns, and input widgets.

Classes

CupertinoTimePickerWrapper
Dual-wheel hour/minute picker for bottom sheets and inline use.
NoLeadingSpaceFormatter
Rejects input that starts with a leading space.
NoSpaceFormatter
Rejects any input that contains spaces.
UICalendar
Month grid calendar with single-date or range selection.
UIColorPicker
Material-styled color picker with spectrum, hue slider, and palette swatches.
UIDatePickerField
Tappable date field that opens a calendar picker.
UIDropdown
A styled dropdown field with optional title and required marker.
UIForm
A form wrapper that tracks named fields and exposes aggregate values.
UIFormCheckboxField
Checkbox field integrated with UIForm.
UIFormDateField
Form-integrated date field.
UIFormField<T>
Base form field integrated with UIForm value tracking.
UIFormFieldState<T>
UIFormState
UIFormSwitchField
Switch field integrated with UIForm.
UIFormTextareaField
Multiline field integrated with UIForm.
UIFormTextField
Text field integrated with UIForm.
UIFormTimeField
Form-integrated time field.
UIHierarchyItem
A hierarchical item for the UIHierarchySearchableDropdown.
UIHierarchySearchableDropdown
A premium, customizable hierarchical dropdown with search and multi-select support.
UIInputOTP
OTP input composed of individual digit slots with auto-advance focus.
UIInputOTPSlot
One character slot inside UIInputOTP.
UIInputOTPState
UILabeledField
A labeled form field that wraps an arbitrary input child.
UILabeledTextFormField
Stateful labeled text field with optional password toggle and validation.
UINumberField
Numeric input with increment/decrement stepper buttons.
UIOverlayDropdown
Overlay dropdown field that opens a positioned selection menu.
UIOverlayDropdownItem
Generic dropdown list item.
UIOverlayDropdownStyle
Visual styling for UIOverlayDropdown field and menu.
UIPasswordStrengthIndicator
Segmented strength bar and checklist for password fields.
UIPickerSheetHeader
Cancel/done header row for picker bottom sheets opened via showPickerBottomSheet.
UIPillSwitch
A customizable pill-shaped toggle switch with optional ON/OFF labels.
UIRadio<T>
A single radio option, typically used inside UIRadioGroup.
UIRadioGroup<T>
Groups UIRadio widgets and manages the selected value.
UIRadioGroupController<T>
Controller for a UIRadioGroup.
UIRangeSlider
Themed RangeSlider with kit defaults.
UIReadOnlyField
Read-only labeled value row for forms and detail screens.
UIRoundedCheckbox
Circular checkbox with optional label.
UISearchBar
Theme-aware search field with clear button and optional sort/filter actions.
UISettingsNavigationTile
Settings row that navigates to a sub-screen when tapped.
UISettingsSaveFab
Checkmark floating action button for saving settings changes.
UISettingsSectionLabel
Uppercase-style section heading for grouped settings rows.
UISettingsStatusChip
On/off status chip for settings rows.
UISettingsSwitchTile
Settings row with a trailing switch for boolean preferences.
UISettingsTiles
Shared helpers for settings tile leading widgets.
UISettingsTimeTile
Settings row that displays a time value and opens a picker on tap.
UISingleValueDropdown
Read-only dropdown-style field showing a single selected value.
UISlider
Themed value Slider with kit defaults.
UITagInput
Chip-style tag input that lets users add and remove string tags.
UITextarea
Multiline text field with optional label, character count, and resize grip.
UITextFormField
A labeled text form field with optional password toggle, validation, and input formatters.
UITimePickerField
Tappable time field that opens a time picker.

Enums

UIAutovalidateMode
When UIForm should auto-validate its fields.
UICalendarMode
Selection mode for UICalendar.
UIPasswordRule
Individual password requirement checked by UIPasswordStrengthIndicator.
UIPasswordStrength
Visual strength level derived from passed UIPasswordRule count.

Functions

pickerSheetBackground(BuildContext context) → Color
pickerSheetItemStyle(BuildContext context) → TextStyle
settingsIconLeading(BuildContext context, {required Widget icon, double size = 44}) → Widget
Builds a leading icon badge for settings navigation and switch tiles.
showPickerBottomSheet<T>({required BuildContext context, required Widget builder(BuildContext context), double height = 300}) → Future<T?>
Shows a fixed-height modal bottom sheet for picker UIs.

Typedefs

UIHierarchyHeaderBuilder = Widget Function(BuildContext context, String label, bool isOpen, VoidCallback onTap)
Builder for the dropdown trigger/header.
UIHierarchyItemBuilder = Widget Function(BuildContext context, UIHierarchyItem item, int level, bool isExpanded, bool? isSelected, VoidCallback onToggleExpand, VoidCallback onToggleSelect)
Builder for individual tree rows.
UIHierarchySearchBuilder = Widget Function(BuildContext context, TextEditingController controller, String query, ValueChanged<String> onChanged)
Builder for the search field.