flexible_mobile_scanner 1.0.0+1 flexible_mobile_scanner: ^1.0.0+1 copied to clipboard
A fork of mobile_scanner with more flexible options - scanWindowBuilder and cameraPreviewBuilder.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flexible_mobile_scanner
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flexible_mobile_scanner: ^1.0.0+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flexible_mobile_scanner/mobile_scanner.dart';
import 'package:flexible_mobile_scanner/mobile_scanner_web.dart';
import 'package:flexible_mobile_scanner/mobile_scanner_web_plugin.dart';