MyCameraPlugin class

Constructors

MyCameraPlugin()

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

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

checkForPermission() Future<bool>
check the permission
getPreviewSizes(int facing) List<Call>?
get the preview size
read({bool flash = false, bool autoFocus = true, bool multiple = false, bool waitTap = false, bool showText = true, Call preview = PREVIEW, int camera = CAMERA_BACK, double fps = 2.0}) Future<List<OcrText>>
read the camera status , is preview , is camera back , is flash on , is autofocus

Constants

CAMERA_BACK → const int
CAMERA_FRONT → const int
PREVIEW → const Call