dunya 1.0.1 copy "dunya: ^1.0.1" to clipboard
dunya: ^1.0.1 copied to clipboard

Pure-Dart country data & phone validation. 250 countries, ranked search, E.164 parsing, 13-locale translations. Powers dunya_ui. Zero Flutter dependency.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dunya

With Flutter:

 $ flutter pub add dunya

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

dependencies:
  dunya: ^1.0.1

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

Import it

Now in your Dart code, you can use:

import 'package:dunya/dunya.dart';
3
likes
160
points
39
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure-Dart country data & phone validation. 250 countries, ranked search, E.164 parsing, 13-locale translations. Powers dunya_ui. Zero Flutter dependency.

Repository (GitHub)
View/report issues

Topics

#country #picker #iso-3166 #phone #i18n

License

MIT (license)

More

Packages that depend on dunya