widgets/inputs/inputs library

Exports for the inputs layer.

Classes

AppRangeSlider
A modern dual-thumb RangeSlider with floating value tooltips and custom styling.
ColorPicker
A curated color picker and palette selector with hex support.
DateField
A date picker field that opens a styled date picker.
A themed dropdown form field.
A single dropdown option.
EmailField
An email input field with built-in validation and autofill.
FileUpload
A modern file upload / dropzone widget with dashed border, file list, and progress bars.
GradientPicker
A multi-stop gradient color picker widget. Allows users to add, remove, and reorder gradient stops interactively.
HorizontalDatePicker
A horizontal date strip / timeline date picker widget.
LiveSearch<T>
A search input with built-in debounce, loading state, and results overlay.
MentionField
A text field that shows @mention and #hashtag suggestions.
MultiSelect<T>
A multi-select field built from selectable chips and a bottom-sheet picker.
NumberField
A numeric input field with an optional currency/unit prefix.
OtpField
A one-time-password (OTP) input with auto-advancing boxes.
OtpPinField
A modern, customizable OTP / PIN code input field.
PasswordField
A password field with a show/hide toggle.
PhoneField
A phone number input field with phone keyboard and country prefix.
RangeSlider
A custom styled dual-thumb range slider with gradient track and tooltip labels.
SearchField
A search field with a clear button and submit callback.
SecurityPinKeyboard
A secure on-screen PIN keypad widget with optional scrambled key order and biometric/delete action keys.
Slider
A custom styled single-value slider with gradient track and tooltip labels.
StepperInput
A numeric stepper input with increment / decrement buttons.
TagInput
An interactive tag input field where users can add and remove chips/tags.
TextField
A themed text field with full form integration (validator + saved value).
TimelinePicker
A horizontal scrollable timeline date picker. Allows users to pick a date by scrolling through a horizontal timeline.
UploadedFile
Represents a chosen file in FileUpload.
WheelDatePicker
An iOS-style spinner / wheel date picker.

Enums

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

Functions

showDatePicker(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.
showDateRangePicker({required BuildContext context, DateTime? firstDate, DateTime? lastDate, DateTimeRange<DateTime>? initialDateRange, 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.).
showNashDateRangePicker(BuildContext context, {DateTime? firstDate, DateTime? lastDate, DateTimeRange<DateTime>? initialDateRange, DateTimeRange<DateTime>? initialRange, String title = 'Select Date Range'}) → Future<DateTimeRange<DateTime>?>
Alias for showDateRangePicker with positional context.

Typedefs

NashRangeSlider = RangeSlider
A backwards-compatible alias for RangeSlider.
NashSlider = Slider
A backwards-compatible alias for Slider.
NashTextField = TextField
A themed text field with full form integration (validator + saved value).