minted_contact 1.0.2
minted_contact: ^1.0.2 copied to clipboard
Well-modelled Dart value types for contact details: Email and PhoneNumber, checked against the real standards rather than a regex. Part of the minted family.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add minted_contactWith Flutter:
$ flutter pub add minted_contactThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
minted_contact: ^1.0.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:minted_contact/minted_contact.dart';