dunya_ui 1.0.1
dunya_ui: ^1.0.1 copied to clipboard
Flutter country picker: bottom sheet, dialog & dropdown. Material + Cupertino adaptive, phone input, 13 locales, A-Z sidebar, favorites, Form support.
Changelog #
1.0.1 - 2026-06-26 #
Fixed #
- Shortened pubspec description to comply with pub.dev 60-180 character limit
- Updated dunya dependency to ^1.0.1
All notable changes documented here. Format: Keep a Changelog
1.0.0 - 2026-03-26 #
Added #
- Cupertino adaptive: 3 Cupertino presentations (bottom sheet, dialog, dropdown) with glass effect
- Phone validation:
enableValidation,onValidationChangedonDunyaDialCodeField - Form integration:
DunyaDialCodeFormFieldwith validator, onSaved, autovalidateMode - Favorites:
favoritesparam on all pickers and dial code fields - Exclude countries:
excludeparam to hide countries from the list - Scroll-to-selected: auto-scrolls list to currently selected country on open
- Alphabet sidebar: A-Z quick navigation bar (adaptive sizing, auto-hides on small lists)
- Localization: auto-resolves country names and UI strings from app locale (13 locales)
- DunyaStrings: localizable UI strings (headers, buttons, hints) in 13 languages
- Input filtering: blocks non-numeric input in phone fields
- Max length enforcement: limits input to country's max digit length
onFieldSubmitted: callback when user presses done on keyboardshowSelectedIndicator: toggle selection highlight and checkmark- Better empty state: styled icon + text when search finds no results
- RTL support:
EdgeInsetsDirectional,BorderDirectionalthroughout - Responsive: dropdown edge detection (opens up/down), dialog min/max constraints, keyboard-aware bottom sheets, text overflow protection
Fixed #
- Cupertino presentations now respect
surfaceColor,bottomSheetRadius,dialogRadiusfrom theme - Parameter ordering lint warnings (14 fixes across 8 files)
- pubspec dependency sorting
Changed #
- Version bump from 0.3.0 to 1.0.0
DunyaPickerThemeproperties work consistently across Material and Cupertino