CasperLaiTW / country_phone_input

A simple and customizable country phone number input flutter package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Country Phone Input

A simple and customizable country phone number input flutter package

Getting Started

Avaliable Parameters

Parameter Datatype Initial Value
enableSearch bool true
hintText String ''
focusNode FocusNode null
onInputChanged Function null
textFieldController TextEditingController TextEditingController()
initialCountryIsoCode String ''
initialPhoneNumberE164 String ''

Example

PhoneInput(
    enableSearch: false,
    hintText: 'Phone Number',
    onInputChanged: (PhoneNumber phoneNumber) {
        // get formatted phone number
        print(phoneNumber.toString());
    },
),

Dependencies

About

A simple and customizable country phone number input flutter package

License:MIT License


Languages

Language:Dart 100.0%