# intl_phone_field **Repository Path**: disburden/intl_phone_field ## Basic Information - **Project Name**: intl_phone_field - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-09 - **Last Updated**: 2021-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # International Phone Field Package A customised Flutter TextFormField to input international phone number along with country code. This widget can be used to make customised text field to take phone number input for any country along with an option to choose country code from a dropdown. ## Screenshots ## Installing To use this package: Add the following to your `pubspec.yaml` file: ```yaml dependencies: intl_phone_field: ^1.4.2 ``` ## How to Use Simply create a `IntlPhoneField` widget, and pass the required params:z ```dart IntlPhoneField( decoration: InputDecoration( labelText: 'Phone Number', border: OutlineInputBorder( borderSide: BorderSide(), ), ), initialCountryCode: 'IN', onChanged: (phone) { print(phone.completeNumber); }, ) ``` Use `initialCountryCode` to set an initial Country Code. ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. ## CONTRIBUTORS - [Vansh Goel](https://github.com/vanshg395/) ## LICENSE [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)