Skip to content

About

Flutter plugin wrapper to Google's libphonenumber

Resources

Stars

5 stars

Watchers

2 watching

Forks

Repository files navigation

Flutter libphonenumber

Flutter plugin wrapper to Google's libphonenumber

Uses flutter platform channel to communicate with native implementation of libphonenumber.

This library uses below native libraries

NOTE

Only number parsing is implemented as of now

Usage

try{
  final parsed = await FlutterLibPhoneNumber.parse(_phoneController.text);
} on PlatformException catch(e){
  debugPrint(e.code +' --- '+e.message);
}

parse() takes 2 parameters.

    numberString - Number string to be parsed

    defaultRegion - default is IN. Used when country code prefix is not provided with phone number string

About

Flutter plugin wrapper to Google's libphonenumber

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages