FlutterDocumentScanSdkWeb class

A web implementation of the FlutterDocumentScanSdkPlatform of the FlutterDocumentScanSdk plugin.

Inheritance

Constructors

FlutterDocumentScanSdkWeb()
Constructs a FlutterDocumentScanSdkWeb

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detectBuffer(Uint8List bytes, int width, int height, int stride, int format) Future<List<DocumentResult>>
Document edge detection. Returns a List of DocumentResult.
override
detectFile(String file) Future<List<DocumentResult>?>
Document edge detection. Returns a List of DocumentResult.
override
getParameters() Future<String?>
Get parameters. @return a String containing the parameters.
override
getPlatformVersion() Future<String?>
Returns a String containing the version of the platform.
override
init(String key) Future<int?>
Initialize the controller.
override
normalizeBuffer(Uint8List bytes, int width, int height, int stride, int format, dynamic points) Future<NormalizedImage?>
Normalize documents. bytes - image bytes. width - image width. height - image height. stride - image stride. format - image format. points - document points.
override
normalizeFile(String file, dynamic points) Future<NormalizedImage?>
Normalize documents. file - path to the file.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(String filename) Future<int?>
Save a document.
override
setParameters(String params) Future<int?>
Set parameters. Returns 0 if successful, -1 otherwise.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith(Registrar registrar) → void