tunaf_country_code 0.0.1 tunaf_country_code: ^0.0.1 copied to clipboard
This package base on country_code_picker, A flutter package for showing a country code selector. In addition it gives the possibility to select a list of favorites countries, as well as to search usin [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add tunaf_country_code
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
tunaf_country_code: ^0.0.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:tunaf_country_code/country_code.dart';
import 'package:tunaf_country_code/country_code_picker.dart';
import 'package:tunaf_country_code/country_codes.dart';
import 'package:tunaf_country_code/country_localizations.dart';
import 'package:tunaf_country_code/selection_dialog.dart';