fl_country_code_picker 0.1.9+1 fl_country_code_picker: ^0.1.9+1 copied to clipboard
A Flutter package for showing a modal that contains country dial code. The user can also search for the available codes and select right from the modal.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fl_country_code_picker
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
fl_country_code_picker: ^0.1.9+1
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:fl_country_code_picker/fl_country_code_picker.dart';