id_card_formatter 0.0.33
id_card_formatter: ^0.0.33 copied to clipboard
A lightweight Flutter/Dart extension to format ID numbers (Generic Formatter, NIDA, phone number, Voter ID, and NCARD card style). Also supports currency formatting and customizable generic ID formats..
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add id_card_formatterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
id_card_formatter: ^0.0.33Alternatively, 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:id_card_formatter/id_card_formatter.dart';