extended_phone_number_input 1.0.2 copy "extended_phone_number_input: ^1.0.2" to clipboard
extended_phone_number_input: ^1.0.2 copied to clipboard

Phone input Flutter widget that supports country code, validation and contact picker

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add extended_phone_number_input

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  extended_phone_number_input: ^1.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:extended_phone_number_input/consts/enums.dart';
import 'package:extended_phone_number_input/consts/strings_consts.dart';
import 'package:extended_phone_number_input/models/countries_list.dart';
import 'package:extended_phone_number_input/models/country.dart';
import 'package:extended_phone_number_input/phone_number_controller.dart';
import 'package:extended_phone_number_input/phone_number_input.dart';
import 'package:extended_phone_number_input/utils/number_converter.dart';
import 'package:extended_phone_number_input/widgets/country_code_list.dart';
35
likes
130
points
164
downloads

Publisher

unverified uploader

Weekly Downloads

Phone input Flutter widget that supports country code, validation and contact picker

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, fluttercontactpicker, phone_numbers_parser

More

Packages that depend on extended_phone_number_input