phone_number_picker 0.0.8 phone_number_picker: ^0.0.8 copied to clipboard
A Flutter package designed to streamline the process of retrieving phone number hints from the user's device.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add phone_number_picker
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
phone_number_picker: ^0.0.8
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:phone_number_picker/generated/assets.dart';
import 'package:phone_number_picker/mobile_number_picker.dart';
import 'package:phone_number_picker/mobile_number_picker_method_channel.dart';
import 'package:phone_number_picker/mobile_number_picker_platform_interface.dart';
import 'package:phone_number_picker/sim_number.dart';
import 'package:phone_number_picker/sim_picker.dart';