international_phone_text_field 0.0.1+6
international_phone_text_field: ^0.0.1+6 copied to clipboard
A Flutter package for international phone field with country code.
International Phone Text Field 🌐 #
-
This package provides a Flutter widget that can be used to input international phone numbers.
-
It is highly customizable and can be used to input phone numbers in any format.
-
It also provides a way to validate the phone number and return the country code and the phone number.
-
It also comes with a build-in bottom sheet to select the country code.
Roadmap for next version #
- Adding full support for dark and light theme
- Adding ability to fully customize the text field
Follow and support me #
| Telegram | Instaram | |
|---|---|---|
Features #

There are two versions of the widget: #
| One line version | Two line version |
|---|---|
![]() |
![]() |
Getting started #
Add the package to your pubspec.yaml file.
dependencies:
international_phone_text_field: ^0.0.1+5
and run flutter pub get to install the package.
Import the package in your code.
import 'package:international_phone_text_field/international_phone_text_field.dart';
Usage #
To use this package, you need type the following code:
InternationalPhoneField(
onChanged: (number) {
print(number);
},
)
✌️This is minimal code to use the package
Additional information #
If you encounter any issues feel free to open an issue. If you feel the package is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.

