Skip to content

dadagov125/flutter_scan_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter scan tools

Flutter tool pack for scanning credit card, qr code, mrz.

Supported scanners

Scanner IOS Android
Credit card supported supported
QR-code will be soon will be soon
MRZ will be soon will be soon

Before usage

ios

info.list

<key>NSCameraUsageDescription</key>
<string>camera</string>

<key>io.flutter.embedded_views_preview</key>
<true/>
android
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-permission android:name="android.permission.CAMERA"/>
....
<application>
  <meta-data
    android:name="flutterEmbedding"
    android:value="2" />
</application>

Usage

void _startScan() async {
  await Permission.camera.request();

  final scanResul = await FlutterScanTools.scanCard(context);

  setState(() {
    this.scanResul = scanResul;
  });
}

Additional information

Tested on:
  • IPhone 13 Pro (IOS 15.5)
  • Redmi Note 8 (Android 9 PKQ1.190616.001)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published