MlkitDocumentScannerPlugin class final
Implementation of the MlkitDocumentScanner interface.
- Inheritance
-
- Object
- PlatformInterface
- MlkitDocumentScannerPlugin
- Implemented types
Constructors
- MlkitDocumentScannerPlugin({required Object token})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jpegScanResults
→ Stream<
List< Uint8List> ?> -
This stream contains full stream of JPEG data that came from the scan.
no setteroverride
-
pdfScanResults
→ Stream<
Uint8List?> -
This stream contains full stream of PDF data that came from the scan.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startDocumentScanner(
{required int maximumNumberOfPages, required bool galleryImportAllowed, required MlkitDocumentScannerMode scannerMode, required DocumentScannerResultMode resultMode}) → Future< void> -
This method starts the document scanner. It tries to mimic the official
API as much as possible. Refer to this URL for more information:
https://developers.google.com/ml-kit/vision/doc-scanner.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited