intl_phone_field
A customised Flutter TextFormField to input international phone number along with country code.
3.2.0
102K downloads/mo
#1117 most downloaded on pub.dev
vanshg395/intl_phone_field
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.2 years
Most releases are documented
notes for 15 of 17 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
17 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
17 releases · May 2020 to Jun 2023
2021
2022
2023
2024
2025
2026
Releases
latest 17-
3.2.024 Jun 2023Release notes
Open source →- Add
autofillHintsand disable posibility. - Improve search (#243).
- Sort countries by name ascending (#243).
- Use flag emoji instead of images on mobile (#243).
- Add country name translations (#243).
- Fix
initialCountryCodeand add dial code support (58152d7cbefaf410c710d2e64680a9e4dd6015dd and 43362292198abc03ea1ce642ed5baa33b9fd8445). - Add flutter_lints (6c19cbec745502e3865b9190cd1d399f7e909ddb).
- Update phone number length of several countries.
- Add
-
3.1.027 Mar 2022Release notes
Open source →- Breaking
validatorfunction parameter type is [PhoneNumber] now instead of [String]. - Add
widthproperty to [PickerDialogStyle] - Add
flagsButtonMarginproperty - Update phone number length of several countries.
- Breaking
-
3.0.120 Jan 2022 -
3.0.015 Jan 2022Release notes
Open source →- Add minimal country length.
- Update minimum and maximum length of phone 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,cursorWidthandshowCursor. - Switch from country List of Maps to List of Country objects.
keyboardAppearanceuse defaultThemeData.brightness- Breaking Rename
dropDownIcontodropdownIconandiconPositiontodropdownIconPosition. - Breaking Remove
autovalidate. - Breaking Add asynchronous validation.
-
2.1.006 Sep 2021Release notes
Open source →- Breaking dropDownArrowIcon and dropDownArrowColor parameters are now replaced by dropDownIcon.
- 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 phone numbers of several countries.
- Minor fixes.
-
2.0.101 Jul 2021Release notes
Open source →- Update maximum length of phone numbers of several countries.
- Add dropDownArrowIcon parameter.
-
2.0.001 Apr 2021 -
1.4.417 Feb 2021Nothing published for this version
-
1.4.317 Feb 2021Nothing published for this version
-
1.4.222 Sep 2020 -
1.4.120 Sep 2020 -
1.4.020 Sep 2020 -
1.3.021 Jul 2020Release notes
Open source →- Initial Value can now be set.
- Phone field now returns ISO County code as well in onSaved, onChanged.
- Minor fixes.
-
1.2.024 Jun 2020Release notes
Open source →- Added some more necessary parameters available for a normal textfield.
- Minor fixes.
-
1.1.010 Jun 2020Release notes
Open source →- Added styling of the country selection button.
- Added support for input formatters.
- Minor fixes.
-
1.0.107 Jun 2020 -
1.0.026 May 2020