portal_scanner 0.1.1
portal_scanner: ^0.1.1 copied to clipboard
Native document scanner (ML Kit on Android, VisionKit on iOS) returning PDF or JPEG bytes for Portal apps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add portal_scannerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
portal_scanner: ^0.1.1Alternatively, 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:portal_scanner/portal_scanner.dart';