RBarcodeCameraValue class
二维码扫描对应的相机内容
isInitialized 是否已经初始化 errorDescription 是否有错误 previewSize 错误内容 isTorchOn 是否开启闪光灯 formats 支持的二维码编码格式 description 相机对应方向 resolutionPreset 分辨率
Constructors
-
RBarcodeCameraValue({bool? isInitialized, String? errorDescription, Size? previewSize, List<
RBarcodeFormat> ? formats, bool? isTorchOn, RBarcodeCameraDescription? description, RBarcodeCameraResolutionPreset? resolutionPreset, bool? isDebug}) -
const
- RBarcodeCameraValue.uninitialized()
-
const
Properties
- aspectRatio → double
-
no setter
- description → RBarcodeCameraDescription?
-
final
- errorDescription → String?
-
final
-
formats
→ List<
RBarcodeFormat> ? -
final
- hasError → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDebug → bool?
-
final
- isInitialized → bool?
-
final
- isTorchOn → bool?
-
final
- previewSize → Size?
-
final
- resolutionPreset → RBarcodeCameraResolutionPreset?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? isInitialized, String? errorDescription, Size? previewSize, bool? isTorchOn, List< RBarcodeFormat> ? formats, RBarcodeCameraDescription? description, RBarcodeCameraResolutionPreset? resolutionPreset, bool? isDebug}) → RBarcodeCameraValue -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited