FaceDetectionController class

Inheritance

Properties

actionNotifier ValueNotifier<ActionStatus>
final
animationValue double
getter/setter pair
apiStatusNotifier ValueNotifier<Status>
final
autoClickCamera bool
getter/setter pair
autoClickStatus bool
getter/setter pair
batterySaverBrightness bool
getter/setter pair
calculatedCenterRect Rect
latefinal
cameraController ↔ CameraController?
getter/setter pair
cameraLensDirection ↔ CameraLensDirection
getter/setter pair
cameras List<CameraDescription>
=== Public fields ===
getter/setter pair
capturedImageNotifier ValueNotifier<CapturedImageData?>
final
centerBoxRectNotifier ValueNotifier<Rect?>
final
countdownNotifier ValueNotifier<int?>
final
defalutCam camCall
getter/setter pair
faceAPIErrorMsg ValueNotifier<String>
final
faceErrorMsg ValueNotifier<String>
final
hasCapturedImage bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
imageHeight double
getter/setter pair
imageWidth double
getter/setter pair
isBusy bool
getter/setter pair
isCameraReady ValueNotifier<bool>
final
isCameraSwitching ValueNotifier<bool>
final
isFaceReadyForCapture ValueNotifier<bool>
final
lottieShouldRepeat ValueNotifier<bool>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
captureFace() Future<({XFile imageFile, Uint8List uint8list})?>
Dispose() Future<void>
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
init(camCall defaultCam, bool autoClickCamera, bool batterySaverBrightness) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
onClick(BuildContext context, ValueChanged<String>? onFieldSubmitted) Future<void>
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
requestPermissions() Future<void>
reTake() Future<void>
setStatus(Status status, String message) → void
switchCamera() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FaceDetectionController
final
isInitialized bool
no setter

Static Methods

resetInitialized() → void