widgets/inputs/inputs library

Exports for the inputs layer.

Classes

DateField
A date picker field that opens a styled date picker.
EmailField
An email input field with built-in validation and autofill.
MultiSelect<T>
A multi-select field built from selectable chips and a bottom-sheet picker.
NashColorPicker
A curated color picker and palette selector with hex support.
NashDropdown<T>
A themed dropdown form field.
NashDropdownItem<T>
A single dropdown option.
NashFileUpload
A modern file upload / dropzone widget with dashed border, file list, and progress bars.
NashHorizontalDatePicker
A horizontal date strip / timeline date picker widget.
NashLiveSearch<T>
A search input with built-in debounce, loading state, and results overlay.
NashRangeSlider
A custom styled dual-thumb range slider with gradient track and tooltip labels.
NashSlider
A custom styled single-value slider with gradient track and tooltip labels.
NashTextField
A themed text field with full form integration (validator + saved value).
NashUploadedFile
Represents a chosen file in NashFileUpload.
NashWheelDatePicker
An iOS-style spinner / wheel date picker.
NumberField
A numeric input field with an optional currency/unit prefix.
OtpField
A one-time-password (OTP) input with auto-advancing boxes.
PasswordField
A password field with a show/hide toggle.
PhoneField
A phone number input field with phone keyboard and country prefix.
SearchField
A search field with a clear button and submit callback.

Enums

DateFieldPickerStyle
Style of date picker dialog / sheet to present.
DateMode
Picker variants for DateField.

Functions

showNashDatePicker(BuildContext context, {DateTime? initialDate, DateTime? firstDate, DateTime? lastDate, String title = 'Select Date', String? locale}) → Future<DateTime?>
Shows a rich, modern modal bottom sheet date picker styled with Nash UI tokens.
showNashDateRangePicker(BuildContext context, {DateTimeRange<DateTime>? initialRange, String title = 'Select Date Range'}) → Future<DateTimeRange<DateTime>?>
Shows a date range picker modal with quick preset chips (Today, This Week, This Month, etc.).