LicensePlateScannerJsonConfiguration class

Implementers
Annotations
  • @JsonSerializable(includeIfNull: false, createFactory: false, explicitToJson: true)

Constructors

LicensePlateScannerJsonConfiguration({String? version, String? screen, CameraModule? cameraModule, Color? cameraOverlayColor, String? cancelButtonTitle, bool? cancelButtonHidden, DialogStyle? confirmationDialogStyle, DialogButtonStyle? confirmationDialogConfirmButtonStyle, DialogButtonStyle? confirmationDialogRetryButtonStyle, String? enableCameraButtonTitle, String? enableCameraExplanationText, Color? finderLineColor, double? finderLineWidth, String? finderTextHint, Color? finderTextHintColor, double? finderPreferredHeight, bool? flashButtonHidden, String? flashButtonTitle, bool? flashEnabled, OrientationLockMode? orientationLockMode, Color? topBarBackgroundColor, Color? topBarButtonsActiveColor, Color? topBarButtonsInactiveColor, int? minNumberOfRequiredFramesWithEqualRecognitionResult, int? maximumNumberOfAccumulatedFrames, bool? useButtonsAllCaps, int? significantShakeDelay, LicensePlateScanStrategy? scanStrategy, String? confirmationDialogTitle, String? confirmationDialogMessage, String? confirmationDialogConfirmButtonTitle, String? confirmationDialogRetryButtonTitle, Color? confirmationDialogAccentColor, bool? confirmationDialogConfirmButtonFilled, Color? confirmationDialogConfirmButtonFilledTextColor, bool? replaceCancelButtonWithIcon, CameraPreviewMode? cameraPreviewMode, bool? touchToFocusEnabled})

Properties

cameraModule CameraModule?
The preferred camera module (default - BACK)
getter/setter pair
cameraOverlayColor Color?
Background color outside of the finder window.
getter/setter pair
cameraPreviewMode CameraPreviewMode?
Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
getter/setter pair
cancelButtonHidden bool?
Whether the cancel button is hidden or not. iOS only.
getter/setter pair
cancelButtonTitle String?
Title of the cancel button.
getter/setter pair
confirmationDialogAccentColor Color?
The accent color of buttons on a confirmation dialog. Android only.
getter/setter pair
confirmationDialogConfirmButtonFilled bool?
Allows to set if the confirm button should be filled. Defaults to TRUE. Android only.
getter/setter pair
confirmationDialogConfirmButtonFilledTextColor Color?
Allows to set a text color of the filled button. See confirmationDialogConfirmButtonFilled. Android only.
getter/setter pair
confirmationDialogConfirmButtonStyle DialogButtonStyle?
The style of the confirmation dialogs confirm button. iOS Only.
getter/setter pair
confirmationDialogConfirmButtonTitle String?
The title of the confirmation dialog retry button.
getter/setter pair
confirmationDialogMessage String?
The message text of the confirmation dialog.
getter/setter pair
confirmationDialogRetryButtonStyle DialogButtonStyle?
The style of the confirmation dialogs retry button. iOS Only.
getter/setter pair
confirmationDialogRetryButtonTitle String?
The title of the confirmation dialog confirm button.
getter/setter pair
confirmationDialogStyle DialogStyle?
The style of the confirmation dialog. iOS Only.
getter/setter pair
confirmationDialogTitle String?
The title of the confirmation dialog.
getter/setter pair
enableCameraButtonTitle String?
Title of the button that opens the screen where the user can allow the usage of the camera by the app.
getter/setter pair
enableCameraExplanationText String?
Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
getter/setter pair
finderLineColor Color?
Foreground color of the detection overlay.
getter/setter pair
finderLineWidth double?
Width of finder frame border. Default is 2.
getter/setter pair
finderPreferredHeight double?
The preferred height of the view finder. Defaults to 150.0. iOS only.
getter/setter pair
finderTextHint String?
User guidance text below the finder view
getter/setter pair
finderTextHintColor Color?
Foreground color of the description label.
getter/setter pair
flashButtonHidden bool?
Controls whether the flash toggle button is hidden or not. iOS only.
getter/setter pair
flashButtonTitle String?
Title of the flash toggle button. iOS only.
getter/setter pair
flashEnabled bool?
Controls whether the flash should be initially enabled. The default value is FALSE.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maximumNumberOfAccumulatedFrames int?
Maximum number of accumulated frames to inspect before actual result is returned
getter/setter pair
minNumberOfRequiredFramesWithEqualRecognitionResult int?
Minimum number of accumulated frames that have equal result
getter/setter pair
orientationLockMode OrientationLockMode?
UI Interface orientation lock mode
getter/setter pair
replaceCancelButtonWithIcon bool?
If true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scanStrategy LicensePlateScanStrategy?
Detector mode, classic (OCR based) or ML (machine learning based) approach.
getter/setter pair
screen String?
The configuration object should be applied for this screen
getter/setter pair
significantShakeDelay int?
Threshold used to pause the detection after significant movement occurred. -1 is default value. Default = 0 for textFilterStrategy='DOCUMENT' and 1000 for textFilterStrategy='LCD_DOT_MATRIX_DISPLAY'. Android only.
getter/setter pair
topBarBackgroundColor Color?
The background color of the top toolbar.
getter/setter pair
topBarButtonsActiveColor Color?
The color of all active toggle buttons in the toolbar.
getter/setter pair
topBarButtonsInactiveColor Color?
The color of all inactive toggle buttons in the toolbar.
getter/setter pair
touchToFocusEnabled bool?
Whether touch-to-focus is enabled on camera preview. Enabled by default. Android only.
getter/setter pair
useButtonsAllCaps bool?
Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
getter/setter pair
version String?
A version of the configuration object
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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