date_picker_form_field 0.2.1
date_picker_form_field: ^0.2.1 copied to clipboard
Locale-aware date form field with a calendar picker and typed manual entry in the local date format
0.2.1 #
- Updated README with clickable video preview thumbnails linking to demonstration recordings, compatible with pub.dev and GitHub markdown rendering.
- Bumped
saible_consulting_coredependency constraint to^0.2.1.
0.2.0 #
- Adaptive platform picker: introduced
AdaptiveDatePickerProviderwithCupertinoDatePickerProvider(Cupertino date picker in a modal popup on iOS and macOS) andMaterialDatePickerProvider(DatePickerDialogon Android, Linux, and Windows). - Custom provider injection: added
pickerProviderparameter toDatePickerFormFieldto allow supplying custom date picker implementations or overriding the platform default. - Direct separator keyboard typing:
DateInputFormatternow supports typing separators directly (/,.,-,,, space) with immediate display feedback, and automatically pads single-digit day or month entries with a leading zero (e.g.3/becomes03/). - Cleaned up testing keys: removed obsolete
DatePickerFormField.switchToEntryModeKeyas the field now defaults directly to keyboard entry. - Updated dependencies: added
cupertino_ui: ^1.1.1andprovider: ^6.1.5+1.
0.1.0 #
- Initial release.
DatePickerFormField: a locale-aware date form field that can be typed manually or picked from the calendar dialog, withinitialDate,firstDateandlastDatebounds.DateInputFormatter: the locale-aware as-you-type date formatter, exported separately so it can be applied to anyTextFormField(hintTextreflects the locale pattern).- Localized
hintText/pattern ordering driven by the active app locale. - Typed
validatorandonSavedcallbacks forFormintegration, receiving the parsedDateTime(ornullwhile the input is empty, incomplete or out of range). - Exposes stable widget keys for widget tests (
switchToEntryModeKey,textInputKey,launchDatePickerKey). - Setup guidance for
material_uiapps: useSaibleLocalizations.localizationsDelegatesfromsaible_consulting_coreto get the country strings together withmaterial_ui's Material, Cupertino and Widgets delegates. - Built on
material_ui, the official Flutter Material library.