Skip to content
pubscout

flutter_card_scanner_plus

0.4.0, released 8 days ago by apissystems.dev

On-device bank card scanner using native OCR without third-party camera plugins.

WASM-ready
$ flutter pub add flutter_card_scanner_plus
Source repository

What it does

Scans payment cards using the device camera or static images to extract card numbers, expiry dates, and cardholder names. Recognition runs fully on-device via native platform OCR engines (Vision, ML Kit, and PaddleOCR for Web).

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

Use it when

  • You need to scan credit or debit cards on iOS, Android, and Web.
  • You require on-device privacy with zero cloud services or network access.

Skip it when

  • You are targeting environments where the 51MB web OCR asset installation is problematic.

Strengths

  • No third-party camera plugin required.
  • Full on-device privacy with multiple card brand support.
  • Customizable UI and flexible field requirements.

Weaknesses

  • Requires a manual web installation step (51MB of models/runtimes for the web).
  • Web assembly can run significantly slower on certain older or specific browser versions.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
2

Requires camera usage description in iOS Info.plist. For web deployments, you must run the dart run flutter_card_scanner_plus:install_web installer command.

import 'package:flutter_card_scanner_plus/flutter_card_scanner_plus.dart';

final card = await CardScannerPage.show(context);
if (card != null) {
  print(card.formattedNumber);
  print(card.brand);
}

Alternatives

Packages that do the same job and could replace flutter_card_scanner_plus.

  • mobile_scanner

    If you only need standard barcode or QR code scanning instead of full credit card OCR.

  • camera

    If you want low-level control over the camera stream to build your own custom computer vision pipeline.

Works with

Packages commonly used together with flutter_card_scanner_plus: ones it builds on, ones built on it, and its own family.