SprenFlutter class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
cancelReading ()
→ Future <void >
Cancels the ongoing reading
captureLock ()
→ Future <void >
Locks camera device configuration
iOS only
captureStart ()
→ Future <void >
Starts camera capture
captureStop ()
→ Future <void >
Stops camera capture
captureUnlock ()
→ Future <void >
Unlocks camera device configuration
iOS only
dropComplexity ()
→ Future <void >
Lower camera resolution and/or frame rate when phone load gets too high
iOS only
getReadingData ()
→ Future <String >
Returns reading data information (needs to be called when reading is over)
handleOverExposure ()
→ Future <void >
Handles camera over exposure
iOS only
reset ()
→ Future <void >
Reset new reading to the beginning
Android only
setAutoStart (bool autoStart )
→ Future <void >
Set reading auto start. autoStart by default is false
Set autoStart to true if you want reading to start automatically.
iOS only
setTorchMode (int torchMode )
→ Future <void >
Configure flash light mode. torchMode possible values are:
0 - The capture device torch is always off.
1 - The capture device torch is always on.
2 - The capture device continuously monitors light levels and uses the torch when necessary.
iOS only
turnFlashOn ()
→ Future <void >
Sets Flash On
Android only