BarcodeTextLocalization class

Configuration of the all strings for barcode scanner.

Constructors

BarcodeTextLocalization({String cameraPermissionEnableCameraTitle = "Camera permission denied!", String cameraPermissionEnableCameraExplanation = "Please allow the usage of the camera to start the scanning process.", String cameraPermissionEnableCameraButton = "Grant permission", String cameraPermissionCloseButton = "Close", String topBarCancelButton = "Cancel", String topBarTitle = "Scan Item", String userGuidance = "Move the finder over a barcode", String barcodeInfoMappingLoadingMessage = "Loading details...", String barcodeInfoMappingErrorStateTitle = "Connection Error!", String barcodeInfoMappingErrorStateSubtitle = "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan.", String barcodeInfoMappingErrorStateRetryButton = "Retry", String barcodeInfoMappingErrorStateCancelButton = "Cancel", String manualCountEditDialogTitle = "Update count", String manualCountEditDialogInfo = "Adjust the number of items you scanned.", String manualCountEditDialogUpdateButton = "Update", String manualCountEditDialogCancelButton = "Cancel", String sheetResetButton = "Reset", String sheetClearAllButton = "Clear all", String sheetSubmitButton = "Submit", String sheetStartScanningButton = "Start scanning", String sheetPlaceholderTitle = "No barcodes here!", String sheetPlaceholderSubtitle = "The barcode list is currently empty. Close this sheet and scan your items to add them.", String singleModeConfirmationCancelButton = "Close", String multipleModeSheetTitle = "%d items", String findAndPickSheetTitle = "%d/%d scanned", String findAndPickSheetBarcodeItemSubtitle = "%d/%d added", String findAndPickPartialAlertTitle = "Incomplete scan!", String findAndPickPartialAlertSubtitle = "Some codes are yet to be scanned. Proceed with submission anyway?", String findAndPickPartialAlertCancelButton = "Cancel", String findAndPickPartialAlertSubmitButton = "Yes, Submit", String findAndPickCompleteAlertTitle = "All codes found!", String findAndPickCompleteAlertSubtitle = "You have successfully scanned all codes. Proceed with submission?", String findAndPickCompleteAlertCancelButton = "Dismiss", String findAndPickCompleteAlertSubmitButton = "Submit"})
BarcodeTextLocalization.fromJson(Map<String, dynamic> json)
factory

Properties

barcodeInfoMappingErrorStateCancelButton String
Cancel button text for the barcode info mapping error state. Default is "Cancel"
getter/setter pair
barcodeInfoMappingErrorStateRetryButton String
Retry button text for the barcode info mapping error state. Default is "Retry"
getter/setter pair
barcodeInfoMappingErrorStateSubtitle String
Subtitle for the barcode info mapping error state. Default is "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan."
getter/setter pair
barcodeInfoMappingErrorStateTitle String
Title for the barcode info mapping error state. Default is "Connection Error!"
getter/setter pair
barcodeInfoMappingLoadingMessage String
Loading message for barcode info mapping. Default is "Loading details..."
getter/setter pair
cameraPermissionCloseButton String
Close button text for the camera permission dialog. Default is "Close"
getter/setter pair
cameraPermissionEnableCameraButton String
Button text for the camera permission dialog. Default is "Grant permission"
getter/setter pair
cameraPermissionEnableCameraExplanation String
Explanation for the camera permission dialog. Default is "Please allow the usage of the camera to start the scanning process."
getter/setter pair
cameraPermissionEnableCameraTitle String
Title for the camera permission dialog. Default is "Camera permission denied!"
getter/setter pair
findAndPickCompleteAlertCancelButton String
Cancel button text for the find and pick complete alert. Default is "Dismiss"
getter/setter pair
findAndPickCompleteAlertSubmitButton String
Submit button text for the find and pick complete alert. Default is "Submit"
getter/setter pair
findAndPickCompleteAlertSubtitle String
Subtitle for the find and pick complete alert. Default is "You have successfully scanned all codes. Proceed with submission?"
getter/setter pair
findAndPickCompleteAlertTitle String
Title for the find and pick complete alert. Default is "All codes found!"
getter/setter pair
findAndPickPartialAlertCancelButton String
Cancel button text for the find and pick partial alert. Default is "Cancel"
getter/setter pair
findAndPickPartialAlertSubmitButton String
Submit button text for the find and pick partial alert. Default is "Yes, Submit"
getter/setter pair
findAndPickPartialAlertSubtitle String
Subtitle for the find and pick partial alert. Default is "Some codes are yet to be scanned. Proceed with submission anyway?"
getter/setter pair
findAndPickPartialAlertTitle String
Title for the find and pick partial alert. Default is "Incomplete scan!"
getter/setter pair
findAndPickSheetBarcodeItemSubtitle String
Subtitle for the find and pick barcode sheet. Default is "%d/%d added"
getter/setter pair
findAndPickSheetTitle String
Title for the find and pick barcode sheet. Default is "%d/%d scanned"
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
manualCountEditDialogCancelButton String
Cancel button text for the manual count edit dialog. Default is "Cancel"
getter/setter pair
manualCountEditDialogInfo String
Info for the manual count edit dialog. Default is "Adjust the number of items you scanned."
getter/setter pair
manualCountEditDialogTitle String
Title for the manual count edit dialog. Default is "Update count"
getter/setter pair
manualCountEditDialogUpdateButton String
Update button text for the manual count edit dialog. Default is "Update"
getter/setter pair
multipleModeSheetTitle String
Title for the multiple mode barcode sheet. Default is "%d items"
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sheetClearAllButton String
Clear all button text for the barcode sheet. Default is "Clear all"
getter/setter pair
sheetPlaceholderSubtitle String
Subtitle for the barcode sheet placeholder. Default is "The barcode list is currently empty. Close this sheet and scan your items to add them."
getter/setter pair
sheetPlaceholderTitle String
Title for the barcode sheet placeholder. Default is "No barcodes here!"
getter/setter pair
sheetResetButton String
Reset button text for the barcode sheet. Default is "Reset"
getter/setter pair
sheetStartScanningButton String
Start scanning button text for the barcode sheet. Default is "Start scanning"
getter/setter pair
sheetSubmitButton String
Submit button text for the barcode sheet. Default is "Submit"
getter/setter pair
singleModeConfirmationCancelButton String
Cancel button text for the single mode confirmation dialog. Default is "Close"
getter/setter pair
topBarCancelButton String
Cancel button text for the top bar. Default is "Cancel"
getter/setter pair
topBarTitle String
Title for the top bar. Default is "Scan Item"
getter/setter pair
userGuidance String
User guidance text. Default is "Move the finder over a barcode"
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