FlutterDocumentScannerIOS class

The iOS implementation of FlutterDocumentScannerPlatform.

Inheritance
  • Object
  • PlatformInterface
  • FlutterDocumentScannerPlatform
  • FlutterDocumentScannerIOS

Constructors

FlutterDocumentScannerIOS()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

adjustingPerspective({required Uint8List byteData, required Contour contour}) Future<Uint8List?>
Based on the given Contour.points, the perspective is created and a new image is returned Uint8List
override
applyFilter({required Uint8List byteData, required FilterType filter}) Future<Uint8List?>
Apply the selected filter with the opencv library
override
findContourPhoto({required Uint8List byteData, required double minContourArea}) Future<Contour?>
Apply filters to the image with opencv Then get the contours and return only the largest one that has four sides (this is done from native code)
override
getVersionOpenCV() Future<String?>
Get the version of the opencv library
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith() → void
Registers this class as the default instance of FlutterDocumentScannerPlatform