FaceDetectionLock class

Inheritance

Constructors

FaceDetectionLock.new({Key? key, required Widget body, Widget? noCameraDetectedErrorScreen, Widget? noFaceLockScreen, Widget? initializingCameraScreen, bool? isBlocInitializeAbove = false, CameraController? cameraController})
const

Properties

body Widget
The primary content of the FaceDetectionLock.
final
cameraController → CameraController?
If you are using the camera in several places in your app and you want to pass an existing controller into the BlocProvider. Then make sure you set isBlocInitializeAbove to true afterwards
final
hashCode int
The hash code for this object.
no setterinherited
initializingCameraScreen Widget?
Camera initialization loading screen page
final
isBlocInitializeAbove bool?
Set this to true if you which to initialize the blocProvider higher in the widget tree and use the FaceDetectionLock widget in different places in your app. for instance;
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
noCameraDetectedErrorScreen Widget?
Custom error widget in case the camera was not detected or initialized. Default is provided
final
noFaceLockScreen Widget?
Custom lock screen to replace placeholder NoFaceDetectedScreen
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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