icann_tlds 1.1.2
icann_tlds: ^1.1.2 copied to clipboard
Automatically updated list of all official Top-Level Domains (TLDs) from ICANN. Includes domain validation, email validation, and utility functions for TLD filtering. Zero dependencies, daily auto-upd [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add icann_tldsWith Flutter:
$ flutter pub add icann_tldsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
icann_tlds: ^1.1.2Alternatively, 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:icann_tlds/icann_tlds.dart';