OCRCameraWidget class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- OCRCameraWidget
Constructors
-
OCRCameraWidget({Key? key, required List<
CameraDescription> camera, MaskType maskType = MaskType.idCard, required ValueChanged<XFile?> onResult, String title = 'This is title', TextStyle tStyle = _defaultTStyle, String firstDescription = 'This is first description', TextStyle fdStyle = _defaultFdStyle, String secondDescription = 'This is second description', TextStyle sdStyle = _defaultSdStyle, String questionToConfirmUseByTakenPhoto = 'This is question to confirm use by taken photo', TextStyle qtcubtpStyle = _defaultQTCUBTPStyle, String rejectText = 'Captures', TextStyle rtStyle = _defaultRtStyle, String confirmText = 'Using this photo', TextStyle cStyle = _defaultCStyle, Widget takePhotoButton = _takePhotoButton}) -
const
Properties
-
camera
→ List<
CameraDescription> -
final
- confirmText → String
-
final
- cStyle → TextStyle
-
final
- fdStyle → TextStyle
-
final
- firstDescription → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maskType → MaskType
-
final
-
onResult
→ ValueChanged<
XFile?> -
final
- qtcubtpStyle → TextStyle
-
final
- questionToConfirmUseByTakenPhoto → String
-
final
- rejectText → String
-
final
- rtStyle → TextStyle
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdStyle → TextStyle
-
final
- secondDescription → String
-
final
- takePhotoButton → Widget
-
final
- title → String
-
final
- tStyle → TextStyle
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → OCRCameraWidgetState -
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}) → 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