id_card_formatter 0.0.31
id_card_formatter: ^0.0.31 copied to clipboard
A Dart utility package for formatting Tanzanian IDs such as NIDA, voter ID, and national card numbers, with optional currency formatting support.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add id_card_formatterWith Flutter:
$ flutter pub add id_card_formatterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
id_card_formatter: ^0.0.31Alternatively, 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:id_card_formatter/id_card_formatter.dart';