extended_phone_number_input 1.0.2 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';