M7DetectionConfig class
Constructors
-
M7DetectionConfig({required List<
M7LivelynessStepItem> steps, bool startWithInfoScreen = false, int maxSecToDetect = 15, bool allowAfterMaxSec = false, Color? captureButtonColor})
Properties
- allowAfterMaxSec → bool
-
A boolean value that deinfes whether to allow the user to click the selfie even if the face is not detected.
final
- captureButtonColor → Color?
-
Icon color of the button that will come after the maxSecToDetect is completed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxSecToDetect → int
-
Duration in which the face detection should get completed.
Default is 15
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startWithInfoScreen → bool
-
A boolean value that defines weather the detection should start with a
Info
screen or not. Default is falsefinal -
steps
→ List<
M7LivelynessStepItem> -
Types of checks to be added while detecting the face.
final
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