BarcodeScannerScreenConfiguration class
Configuration of the barcode scanner screen.
Constructors
- BarcodeScannerScreenConfiguration({String version = "1.0", String screen = "BarcodeScanner", Palette? palette, BarcodeTextLocalization? localization, ScanbotColor? backgroundColor, TopBarConfiguration? topBar, ActionBarConfiguration? actionBar, ViewFinderConfiguration? viewFinder, UserGuidanceConfiguration? userGuidance, CameraPermissionScreen? cameraPermission, CameraConfiguration? cameraConfiguration, CommonBarcodeScannerConfiguration? scannerConfiguration, BarcodeUseCase? useCase, Sound? sound, Vibration? vibration, Timeouts? timeouts, bool keepScreenOn = true})
- 
          BarcodeScannerScreenConfiguration.fromJson(Map<String, dynamic> json)
- 
          
            factory
Properties
- actionBar ↔ ActionBarConfiguration
- 
  Configuration of the action bar.
  getter/setter pair
- backgroundColor ↔ ScanbotColor
- 
  Color of the screen's background.
  getter/setter pair
- cameraConfiguration ↔ CameraConfiguration
- 
  Configuration of the camera behavior.
  getter/setter pair
- cameraPermission ↔ CameraPermissionScreen
- 
  Configuration of the dialog for requesting camera permissions.
  getter/setter pair
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- keepScreenOn ↔ bool
- 
  If enabled, the screen will not turn off while the barcode scanner is active. (Android only).
  getter/setter pair
- localization ↔ BarcodeTextLocalization
- 
  Configuration of the all strings for barcode scanner.
  getter/setter pair
- palette ↔ Palette
- 
  Define the screen's base color values from which other colors are derived.
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- scannerConfiguration ↔ CommonBarcodeScannerConfiguration
- 
  Configuration of the scanning behavior.
  getter/setter pair
- screen → String
- 
  The configuration object should be applied for this screen.
  final
- sound ↔ Sound
- 
  Configuration of the scan confirmation sound.
  getter/setter pair
- timeouts ↔ Timeouts
- 
  Configuration of timeouts.
  getter/setter pair
- topBar ↔ TopBarConfiguration
- 
  Configuration of the top bar.
  getter/setter pair
- useCase ↔ BarcodeUseCase
- 
  Configuration of the barcode scanner screen's behavior.
  getter/setter pair
- userGuidance ↔ UserGuidanceConfiguration
- 
  Configuration of the text hint guiding users to move the view finder over a barcode.
  getter/setter pair
- version → String
- 
  Version number of the configuration object.
  final
- vibration ↔ Vibration
- 
  Configuration of the scan scan confirmation vibration.
  getter/setter pair
- viewFinder ↔ ViewFinderConfiguration
- 
  Configuration of the view finder.
  getter/setter pair
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson({ToJsonConfiguration? config}) → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited