- Breaking
validator
function parameter type is [PhoneNumber] now instead of [String]. - Add
width
property to [PickerDialogStyle] - Add
flagsButtonMargin
property - Update phone number length of several countries.
- Fix #146
- 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
,cursorWidth
andshowCursor
. - Switch from country List of Maps to List of Country objects.
keyboardAppearance
use defaultThemeData.brightness
- Breaking Rename
dropDownIcon
todropdownIcon
andiconPosition
todropdownIconPosition
. - Breaking Remove
autovalidate
. - Breaking Add asynchronous validation.
- 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.
- Update maximum length of phone numbers of several countries.
- Add dropDownArrowIcon parameter.
- Package is now null-safe.
- onCountryChanged param added.
- Other Fixes.
- Color change for Dropdown Icon and Dialog is now added.
- More Documentation added for properties.
- Searchbar label text can be now set.
- Picker popup bug fixed.
- Initial Value can now be set.
- Phone field now returns ISO County code as well in onSaved, onChanged.
- Minor fixes.
- Added some more necessary parameters available for a normal textfield.
- Minor fixes.
- Added styling of the country selection button.
- Added support for input formatters.
- Minor fixes.
- A Basic validator added.
- Updated README.
- A Custom Phone Input TextFormField.