Skip to content
pubscout

drivers_license_parser

2.0.0, released a year ago by gojitsu.com

Parses PDF-417 barcodes on US and Canadian driver's licenses

WASM-ready
$ flutter pub add drivers_license_parser
Source repository

What it does

Provides a utility to parse information from PDF-417 barcodes found on the back of driver's licenses in the US and Canada. It supports AAMVA Version 8 as well as older standards.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to parse driver's license barcode data in US or Canadian formats
  • You are processing AAMVA-compliant license standards

Skip it when

  • You need a built-in barcode scanner camera utility to capture the barcode

Strengths

  • Supports multiple AAMVA versions including Version 8 and older standards
  • Extracts comprehensive fields like name, date of birth, address, and physical characteristics
  • Zero external dependencies

Weaknesses

  • Does not provide a camera scanning utility to acquire the barcode data itself

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0
final pdf417Data = myLicenseScannerUtility.scan();
final parsedLicense = LicenseParser.parse(pdf417Data);
print(parsedLicense.firstName);

Alternatives

Packages that do the same job and could replace drivers_license_parser.

  • gtk

    GTK utilities for Flutter Linux applications, providing settings and application lifecycle helpers.

  • flutter_flavorizr

    A utility to easily create and configure application flavors in Flutter.

  • rsa_id_number

    Validates, parses, and generates South African ID numbers.