scan_to_pay 1.0.1 copy "scan_to_pay: ^1.0.1" to clipboard
scan_to_pay: ^1.0.1 copied to clipboard

Reusable Flutter SDK for scan-to-pay: OCR-based account-number capture, multi-frame confirmation, pluggable bank resolver, and themeable UI.

1.0.1 #

  • Remove internal project references from documentation and source comments.
  • Upgrade camera constraint to ^0.12.0 (supports stable 0.12.0+1).
  • Upgrade permission_handler constraint to ^12.0.0 (supports stable 12.0.1).

1.0.0 #

First public release candidate.

  • ScanToPayLauncher.push(context, config: …) one-line integration.
  • ScanOrchestrator — pure-Dart engine (no BuildContext, no setState) exposing Stream<ScanOrchestrationState>.
  • CameraEngine wrapping CameraController with NV21/BGRA8888 + sensor-orientation handling and 2s focus refresh.
  • OcrEngine wrapping ML Kit TextRecognizer (Latin).
  • HandwritingValidator with synthetic-confidence gating (mirrors production scanner behaviour).
  • AccountNumberExtractor with tiered cleaning, digit/letter transliteration, context scoring, block/line fallbacks.
  • BankResolver abstract + DefaultNigerianBankResolver (built-in keyword/fuzzy matching against a packaged bank list) + RemoteBankResolver (HTTP, pluggable parser) + ChainedBankResolver.
  • ScanToPayTheme with viewfinderBuilder and accountSheetBuilder slots for full UI override.
  • Default ScanViewfinder + AccountFoundSheet matching the production scan-to-pay look.
  • Gallery single-shot path via image_picker.
  • Optional ScanToPayAnalyticsDelegate telemetry hook.
1
likes
160
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Reusable Flutter SDK for scan-to-pay: OCR-based account-number capture, multi-frame confirmation, pluggable bank resolver, and themeable UI.

Repository (GitHub)
View/report issues

Topics

#ocr #scan #payments #nuban #bank

License

MIT (license)

Dependencies

camera, flutter, google_mlkit_text_recognition, http, image_picker, meta, permission_handler

More

Packages that depend on scan_to_pay