AWCameraPreview class
A widget showing a live camera preview of the Aware Flutter Face Capture SDK
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- AWCameraPreview
Constructors
- AWCameraPreview({required String username, required double captureTimeOut, required String profileProperty, required void getCapturedImagePackage(String capturedImagePackage), required String? encryptionServerKey, String facePublicKey = "", BoxFit completedImageBoxFit = BoxFit.cover, BoxFit capturingImageBoxFit = BoxFit.cover, bool showFeedBack = false, CameraOrientation cameraOrientation = CameraOrientation.portrait, CameraPosition cameraPosition = CameraPosition.front, Alignment feedbackALignment = Alignment.topCenter, EdgeInsets feedbackPadding = const EdgeInsets.only(top: 10), TextStyle feedbackTextstyle = const TextStyle(fontSize: 20, color: Colors.black), Key? key})
- Creates a preview widget for the given instance of FaceCapture, Workflow, username and timeout values.
Properties
- cameraOrientation → CameraOrientation
-
An enumeration of the possible camera orientations including CameraOrientation.portrait and CameraOrientation.landscape
final
- cameraPosition → CameraPosition
-
This is an enumeration representing either the front facing camera or the main (back) camera of a device.
final
- capabilityS ↔ Capability
-
getter/setter pair
- captureTimeOut → double
-
The capture timeout of the given FaceCapture instance. A timeout of 0.0 indicates there is no timeout.
final
- capturingImageBoxFit → BoxFit
-
final
- completedImageBoxFit → BoxFit
-
final
- encryptionServerKey ↔ String?
-
getter/setter pair
- facePublicKey → String
-
final
- feedback ↔ String
-
getter/setter pair
- feedbackALignment → Alignment
-
final
- feedbackPadding → EdgeInsets
-
final
- feedbackStream ↔ Stream
-
latefinal
- feedbackTextstyle → TextStyle
-
Face Capture's SDK offers feedback on how a user should better orient themselves to allow for an effective Face Capture.
This is returned as a string that can be fully customized.
final
- getCapturedImagePackage → void Function(String capturedImagePackage)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCapturing ↔ bool
-
getter/setter pair
- isolateS ↔ Isolate
-
getter/setter pair
- isPausedS ↔ bool
-
getter/setter pair
- isRunning ↔ bool
-
getter/setter pair
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- profileProperty → String
-
final
- receivePort ↔ ReceivePort
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedCamera ↔ Camera
-
Selected Camera for Face Capture to use to get frames.
latefinal
- serverPackage ↔ String
-
getter/setter pair
- showFeedBack → bool
-
final
- status ↔ String
-
getter/setter pair
- statusStream ↔ Stream
-
latefinal
- threadParameters ↔ ThreadParameters
-
latefinal
- threadStatus ↔ String
-
getter/setter pair
- username → String
-
The username of the person whose face is being registered for the given instance of FaceCpature.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< AWCameraPreview> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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