PackageTrack
Sign in Get early access

intl_mobile_field

A customized Flutter TextFormField to input international Mobile number along with country code.

2.1.7 5.0K downloads/mo #3840 most downloaded on pub.dev MdAshrafUllah/intl_mobile_field

What this package is like to depend on

Last release 2 months ago

13 Jun 2026

Release timing varies

gaps range from 1 weeks to 8 months

Nearly every release is documented

notes for 17 of 17 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

17 releases · first in 2024

5 releases in the last 12 months

see the full history below

Release timeline

17 releases · Nov 2024 to Jun 2026
2025 2026
Release Pre-release

Releases

latest 17
  1. 2.1.7 13 Jun 2026
    Release notes

    - **New** Added `searchBy` to customize country search behavior in th…

    …e picker dialog

    - **New** Supports searching by country name, dial code, or both
    - **New** `SearchBy.both` is now the default search behavior
    - Readme file updated.

    Open source →
    Release notes
    • New Added searchBy to customize country search behavior in the picker dialog
    • New Supports searching by country name, dial code, or both
    • New SearchBy.both is now the default search behavior
    • Readme file updated.
    Open source →
    Release notes
    • New Added searchBy to customize country search behavior in the picker dialog

    • New Supports searching by country name, dial code, or both

    • New SearchBy.both is now the default search behavior

    • Readme file updated.

    Open source →
  2. 2.1.6 12 Jun 2026
    Release notes

    Fix image tag formatting in README.md

    Open source →
    Release notes
    • New Added resetCountryOnClearField to restore the initial country when the field is cleared
    • New Added excludeCountries to exclude specific countries from the picker
    • New Added onMaxLengthReached callback for maximum number length detection
    Open source →
    Release notes
    • New Added resetCountryOnClearField to restore the initial country when the field is cleared

    • New Added excludeCountries to exclude specific countries from the picker

    • New Added onMaxLengthReached callback for maximum number length detection

    Open source →
  3. 2.1.5 06 Jun 2026
    Release notes
    • Breaking: FlagDropDown renamed to CountryDropDown
    • Flexible display: From CountryDropDown you can use what you need (country name, code, flag, or any combination)
    • Full RTL & LTR support
    • Complete UI customization control
    • Example code: cleaner and more understandable
    Open source →
    Release notes
    • Breaking : FlagDropDown renamed to CountryDropDown

    • Flexible display : From CountryDropDown you can use what you need (country name, code, flag, or any combination)

    • Full RTL & LTR support

    • Complete UI customization control

    • Example code: cleaner and more understandable

    Open source →
  4. 2.1.4 26 Sep 2025
    Release notes
    • ‍Dart format
    Open source →
  5. 2.1.3 26 Sep 2025
    Release notes

    Fixed

    • Resolved issue with country search: now typing partial country names (e.g., “U”) correctly filters all matching countries instead of requiring exact matches. #52
    • Updated getCountry method to allow specifying countryISOCode, preventing incorrect country selection when multiple countries share the same dial code. #53

    Improved

    • Search functionality is now case-insensitive and supports substring matching.

    🙏 Thanks

    Big thanks to @serhii-ovchar-ew for contributing validating mobile numbers that already have country information!

    Open source →
    Release notes

    Fixed

    • Resolved issue with country search: now typing partial country names (e.g., “U”) correctly filters all matching countries instead of requiring exact matches. #52

    • Updated getCountry method to allow specifying countryISOCode , preventing incorrect country selection when multiple countries share the same dial code. #53

    Improved

    • Search functionality is now case-insensitive and supports substring matching.

    🙏 Thanks

    Big thanks to @serhii-ovchar-ew for contributing validating mobile numbers that already have country information !

    Open source →
  6. 2.1.2 08 Aug 2025
    Release notes

    Fixed

    • +44 [UK] The limit on the length of the number is incorrect. #51
    Open source →
    Release notes

    Fixed

    • +44 [UK] The limit on the length of the number is incorrect. #51
    Open source →
  7. 2.1.1 01 Aug 2025
    Release notes

    Fixed

    • Fixed disableLengthCounter true does not fully disable counter #45
    Open source →
    Release notes

    Fixed

    • Fixed disableLengthCounter true does not fully disable counter #45
    Open source →
  8. 2.1.0 11 Jul 2025
    Release notes

    v 2.1.0

    Development

    Open source →
    Release notes

    Fixed

    • RangeError when typing input in IntlMobileField #39
    • controller/initialValue issues fixed #35

    Added

    • 🌏 Vietnamese language support for translations
    • countries now accepts a List<String> of country codes or dial codes see Example
    • Limit which countries appear in the picker dialog
    • Custom styling support for the maxLength counter using lengthCounterTextStyle
    • Set the height of the country Picker DialogBox using countryPickerDialogBoxHeight

    🙏 Thanks

    Big thanks to @tAnAs7 for contributing Vietnamese language support!


    Open source →
    Release notes

    Fixed

    • RangeError when typing input in IntlMobileField #39

    • controller / initialValue issues fixed #35

    Added

    • 🌏 Vietnamese language support for translations

    • countries now accepts a List<String> of country codes or dial codes see Example

    • Limit which countries appear in the picker dialog

    • Custom styling support for the maxLength counter using lengthCounterTextStyle

    • Set the height of the country Picker DialogBox using countryPickerDialogBoxHeight

    🙏 Thanks

    Big thanks to @tAnAs7 for contributing Vietnamese language support !

    Open source →
  9. 2.0.2 28 Apr 2025
    Release notes

    Merge pull request #34 from MdAshrafUllah/development

    Development

    Open source →
    Release notes

    Fixed

    • Resolved an issue where onCountryChanged was not being invoked correctly.
    • Fixed an issue where initialCountryCode was not setting the input length properly on initialization.

    Open source →
    Release notes

    Fixed

    • Resolved an issue where onCountryChanged was not being invoked correctly.

    • Fixed an issue where initialCountryCode was not setting the input length properly on initialization.

    Open source →
  10. 2.0.1 25 Apr 2025
    Release notes

    Newly Added

    • New Add translations for Portuguese languages.

    Changed

    • We have removed the prefixIcon from IntlMobileField. Now, users have to pass all attributes for FlagsDropDown directly in IntlMobileField.

    Improved

    • Now the length will not be stuck at 10 digits for all countries.
    • Now able to make the field optional.
    • Now initialValue will change the default country flag.

    Notes

    • The user can still use FlagsDropDown separately anywhere.

    Open source →
    Release notes

    Newly Added

    • New Add translations for Portuguese languages.

    Changed

    • We have removed the prefixIcon from IntlMobileField . Now, users have to pass all attributes for FlagsDropDown directly in IntlMobileField .

    Improved

    • Now the length will not be stuck at 10 digits for all countries.

    • Now able to make the field optional.

    • Now initialValue will change the default country flag.

    Notes

    • The user can still use FlagsDropDown separately anywhere.
    Open source →
  11. 2.0.0 14 Apr 2025
    Release notes

    Newly Added

    • FlagImage widget - Easily display any country's flag anywhere in your UI.
    • FlagsDropDown widget - A fully customizable country selector with dialog support.
    • Support for custom validation - Pass a custom validator function with both sync and async validation handling.
    • Users can now add prefixIcon and suffixIcon in IntlMobileField.
    • FlagsDropDown appears in the prefixIcon by default for IntlMobileField, but can be overridden.

    Changed

    • Updated phone number length validation for Seychelles to match accurate formatting rules.

    Improved

    • Introduced debounced async validation to prevent overlapping validator calls and improve performance.
    • Developers can fully customize or replace the flag dropdown by injecting their own FlagsDropDown.
    • Added configuration options to hide flags, country codes, or dropdown icons both in the field and dialog.

    Notes

    • Flutter's native validator is not async, so async validation is handled internally via onChanged, with a debounce.
    • For real-time validation feedback, use the onChanged callback and manage UI state accordingly.
    • Explore the package for knowing what new in it.

    Open source →
    Release notes

    Newly Added

    • FlagImage widget - Easily display any country's flag anywhere in your UI.

    • FlagsDropDown widget - A fully customizable country selector with dialog support.

    • Support for custom validation - Pass a custom validator function with both sync and async validation handling.

    • Users can now add prefixIcon and suffixIcon in IntlMobileField .

    • FlagsDropDown appears in the prefixIcon by default for IntlMobileField , but can be overridden.

    Changed

    • Updated phone number length validation for Seychelles to match accurate formatting rules.

    Improved

    • Introduced debounced async validation to prevent overlapping validator calls and improve performance.

    • Developers can fully customize or replace the flag dropdown by injecting their own FlagsDropDown .

    • Added configuration options to hide flags, country codes , or dropdown icons both in the field and dialog.

    Notes

    • Flutter's native validator is not async, so async validation is handled internally via onChanged , with a debounce.

    • For real-time validation feedback, use the onChanged callback and manage UI state accordingly.

    • Explore the package for knowing what new in it.

    Open source →
  12. 1.1.1 21 Jan 2025
    Release notes
    • New Add translations for [Bangla], [Hindi], [Urdu] languages.
    • New RTL Support for Translations of Right-to-Left Languages
    • added Kosovo localization messages
    • update [README.md] file with translations listed Country and RLT,LRT Output.
    • New screenshot(thumbnail) added.
    Open source →
    Release notes
    • fixed Readme file image URLs

    Open source →
    Release notes
    • fixed Readme file image URLs
    Open source →
  13. 1.1.0 21 Jan 2025
    Release notes
    • New Add translations for [Bangla], [Hindi], [Urdu] languages.
    • New RTL Support for Translations of Right-to-Left Languages
    • added Kosovo localization messages
    • update [README.md] file with translations listed Country and RLT,LRT Output.
    • New screenshot(thumbnail) added.

    Open source →
    Release notes
    • New Add translations for [Bangla], [Hindi], [Urdu] languages.

    • New RTL Support for Translations of Right-to-Left Languages

    • added Kosovo localization messages

    • update [README.md] file with translations listed Country and RLT,LRT Output.

    • New screenshot(thumbnail) added.

    Open source →
  14. 1.0.3 01 Dec 2024
    Release notes
    • Update Benin number format 8 to 10

    Open source →
    Release notes
    • Update Benin number format 8 to 10
    Open source →
  15. 1.0.2 02 Nov 2024
    Release notes
    • fixed Readme file

    Open source →
    Release notes
    • fixed Readme file
    Open source →
  16. 1.0.1 02 Nov 2024
    Release notes
    • make compatible for web.

    Open source →
    Release notes
    • make compatible for web.
    Open source →
  17. 1.0.0 02 Nov 2024
    Release notes
    • A Custom mobile Input TextFormField.
    • A Basic validator added.
    • Added styling of the country selection button.
    • Added support for input formatters.
    • Added some more necessary parameters available for a normal textfield.
    • Initial Value can now be set.
    • mobile field now returns ISO County code as well in onSaved, onChanged.
    • SearchBar label text can be now set.
    • Picker popup bug fixed.
    • Color change for Dropdown Icon and Dialog is now added.
    • onCountryChanged param added.
    • null-safe.
    • Update maximum length of mobile numbers of several countries.
    • Add dropDownArrowIcon parameter.
    • Control autoValidateMode of text input added.
    • showCountryFlag param added.
    • textAlignVertical param added.
    • Icon position feature added.
    • Setting enabled to false disable the dropdown button too.
    • Update maximum length of mobile numbers of several countries.
    • dropDownArrowIcon and dropDownArrowColor parameters are now replaced by dropDownIcon.
    • Add asynchronous validation.
    • Add minimal country length.
    • Update minimum and maximum length of mobile numbers of several countries.
    • Support country search by dial code.
    • Move flag button to TextFormField's prefixIcon (always displayed and get rid of alignment issues).
    • Add dropdownTextStyle, customize style use for the country dial code.
    • Add disableLengthCheck, disable view minimum and maximum length check.
    • Add a CountryPickerDialog widget and PickerDialogStyle (set of styles to allow the country search dialog customization).
    • Add flagsButtonPadding, set custom padding around flag button.
    • Add invalidNumberMessage, te message to be displayed on validation error.
    • Add cursor customization options: cursorColor, cursorHeight, cursorRadius, cursorWidth and showCursor.
    • Switch from country List of Maps to List of Country objects.
    • keyboardAppearance use default ThemeData.brightness.
    • Rename dropDownIcon to dropdownIcon and iconPosition to dropdownIconPosition.
    • Remove autoValidate.
    • Add asynchronous validation.
    • validator function parameter type is [MobileNumber] now instead of [String].
    • Add width property to [PickerDialogStyle]
    • Add flagsButtonMargin property
    • Update mobile number length of several countries.
    • Add magnifierConfiguration to customize the magnifier.
    • Add formFieldKey for the Mobile input text field key.
    • Update Mobile number length of several countries.
    • New Add shape property of the Dialog.
    • New Update Madagascar, Brazil, belarus, indonesia Min and Max.
    • New Add Country Kosovo.
    • New Correct name translation for some countries.
    • New Able to style the text inside the search field.
    • New allowing to pass list of favorite country codes as a list of string.
    • New put the favorite countries always on the top.
    • New changed the listView builder to slivers.
    • New Fixed duplication of countries on the search.
    • New Hungarian translation added to countries.
    • New make itself visible by scrolling.
    • New Enable project example for Linux, Mac and Windows.
    • New Fix to select png asset for Linux and Windows.
    • New Enable "expands" and "maxLines" parameters.
    • New support phone numbers with spaces and dashes in fromCompleteNumber.
    • New Border added to TextFormField Widget
    • New Fill Color added.
    • New Invalid Number Message added in validator on empty Mobile number.
    • New Disable text field and flag Separately.
    • New Disable Mobile Length Counter.
    • New Add an onTapOutside function.
    • New Control the size of the country flag. min is 32.
    • New You can add Customizable favorite Icon in favorite country list.
    • New You can can change the position of the favorite Icon.
    Open source →
    Release notes
    • A Custom mobile Input TextFormField.

    • A Basic validator added.

    • Added styling of the country selection button.

    • Added support for input formatters.

    • Added some more necessary parameters available for a normal textfield.

    • Initial Value can now be set.

    • mobile field now returns ISO County code as well in onSaved, onChanged.

    • SearchBar label text can be now set.

    • Picker popup bug fixed.

    • Color change for Dropdown Icon and Dialog is now added.

    • onCountryChanged param added.

    • null-safe.

    • Update maximum length of mobile numbers of several countries.

    • Add dropDownArrowIcon parameter.

    • Control autoValidateMode of text input added.

    • showCountryFlag param added.

    • textAlignVertical param added.

    • Icon position feature added.

    • Setting enabled to false disable the dropdown button too.

    • Update maximum length of mobile numbers of several countries.

    • dropDownArrowIcon and dropDownArrowColor parameters are now replaced by dropDownIcon.

    • Add asynchronous validation.

    • Add minimal country length.

    • Update minimum and maximum length of mobile numbers of several countries.

    • Support country search by dial code.

    • Move flag button to TextFormField's prefixIcon (always displayed and get rid of alignment issues).

    • Add dropdownTextStyle , customize style use for the country dial code.

    • Add disableLengthCheck , disable view minimum and maximum length check.

    • Add a CountryPickerDialog widget and PickerDialogStyle (set of styles to allow the country search dialog customization).

    • Add flagsButtonPadding , set custom padding around flag button.

    • Add invalidNumberMessage , te message to be displayed on validation error.

    • Add cursor customization options: cursorColor , cursorHeight , cursorRadius , cursorWidth and showCursor .

    • Switch from country List of Maps to List of Country objects.

    • keyboardAppearance use default ThemeData.brightness .

    • Rename dropDownIcon to dropdownIcon and iconPosition to dropdownIconPosition .

    • Remove autoValidate .

    • Add asynchronous validation.

    • validator function parameter type is [MobileNumber] now instead of [String].

    • Add width property to [PickerDialogStyle]

    • Add flagsButtonMargin property

    • Update mobile number length of several countries.

    • Add magnifierConfiguration to customize the magnifier.

    • Add formFieldKey for the Mobile input text field key.

    • Update Mobile number length of several countries.

    • New Add shape property of the Dialog.

    • New Update Madagascar, Brazil, belarus, indonesia Min and Max.

    • New Add Country Kosovo.

    • New Correct name translation for some countries.

    • New Able to style the text inside the search field.

    • New allowing to pass list of favorite country codes as a list of string.

    • New put the favorite countries always on the top.

    • New changed the listView builder to slivers.

    • New Fixed duplication of countries on the search.

    • New Hungarian translation added to countries.

    • New make itself visible by scrolling.

    • New Enable project example for Linux, Mac and Windows.

    • New Fix to select png asset for Linux and Windows.

    • New Enable "expands" and "maxLines" parameters.

    • New support phone numbers with spaces and dashes in fromCompleteNumber.

    • New Border added to TextFormField Widget

    • New Fill Color added.

    • New Invalid Number Message added in validator on empty Mobile number.

    • New Disable text field and flag Separately.

    • New Disable Mobile Length Counter.

    • New Add an onTapOutside function.

    • New Control the size of the country flag. min is 32.

    • New You can add Customizable favorite Icon in favorite country list.

    • New You can can change the position of the favorite Icon.

    39

    likes

    160

    points

    4.91k

    downloads

    Documentation

    API reference

    Publisher

    ratiodream.com

    Weekly Downloads

    Metadata

    A customized Flutter TextFormField to input international Mobile number along with country code.

    Repository (GitHub)

    View/report issues

    Topics

    #intl-mobile-field #phone-field #number-field #international-phone-field #international-mobile-field

    License

    MIT ( license )

    Dependencies

    flutter

    More

    Packages that depend on intl_mobile_field

    ← Metadata

    39

    likes

    160

    points

    4.91k

    downloads

    Documentation

    API reference

    Publisher

    ratiodream.com

    Weekly Downloads

    Metadata

    A customized Flutter TextFormField to input international Mobile number along with country code.

    Repository (GitHub)

    View/report issues

    Topics

    #intl-mobile-field #phone-field #number-field #international-phone-field #international-mobile-field

    License

    MIT ( license )

    Dependencies

    flutter

    More

    Packages that depend on intl_mobile_field

    Back

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive