raw_scanner_plus

Hecho en 🇵🇷 por Radamés J. Valentín Reyes

Simplified barcode scanning library

Getting Started

  • Set the android/app/build.gradle minSdkVersion to 21
  • Update ext.kotlin_version = to 1.9.10 on your android/build.gradle

Import

import 'package:raw_scanner_plus/raw_scanner_plus.dart';
import 'package:mobile_scanner/mobile_scanner.dart';

Example

String? scanResult = await scanCodes(
  context: context,
  backgroundColor: Colors.purple,
  foregroundColor: Colors.white,
  formats: [
    BarcodeFormat.qrCode,
  ],
);
print(scanResult);

Verified to work on three orientations(my phone only allows for 1 portrait orientation and 2 landscape)


Contribute/donate by tapping on the Pay Pal logo/image