Skip to content

InnoFlutter/another_intl_phone_number_input

Repository files navigation

Another Intl Phone Number Input

A simple and customizable flutter package for inputting phone number in intl / international format uses Google's libphonenumber with ability to change country code manually using keyboard.

Inpired by Intl Phone Number Input

Features

  • Phone input
  • Phone number formatting using country and Google's libphonenumber
  • Selection country and country code by popup with search
  • Manual input of country code
  • [BETA] Auto-selection of country and country code by phone settings

Getting started

  1. Add to pubspec.yaml
...
dependencies:
...
another_intl_phone_number_input
...
import 'package:another_intl_phone_number_input/another_intl_phone_number_input.dart';

Usage

 AnotherInternationalPhoneNumberInput(
    onInputChanged: (number) {
        print('onInputChanged: ' + number.toString());
    },
 )

More detailed example you can observe in `/example/lib/main.dart'.

About

A simple flutter package for inputting phone number

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published