FlutterDocumentScanSdkWeb class

A web implementation of the FlutterDocumentScanSdkPlatform of the FlutterDocumentScanSdk plugin.

Inheritance

Constructors

FlutterDocumentScanSdkWeb.new()
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, int rotation) Future<List<DocumentResult>>
Detects documents from the given image bytes.
override
detectFile(String file) Future<List<DocumentResult>?>
Detects documents in the given image file.
override
getParameters() Future<String?>
Gets the current parameters as a JSON string
override
init(String key) Future<int?>
Initializes the SDK using the provided key.
override
normalizeBuffer(Uint8List bytes, int width, int height, int stride, int format, List<Offset> points, int rotation, ColorMode color) Future<NormalizedImage?>
Normalizes the image.
override
normalizeFile(String file, List<Offset> points, ColorMode color) Future<NormalizedImage?>
Normalizes the image.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setParameters(String params) Future<int?>
Sets parameters for the document scanner.
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