SelectionOverlayScannerConfiguration class

Barcode Selection Overlay configuration

Annotations

Constructors

SelectionOverlayScannerConfiguration({bool overlayEnabled = true, BarcodeOverlayTextFormat textFormat = BarcodeOverlayTextFormat.CODE_AND_TYPE, Color? polygonColor = Colors.white, Color? textColor = Colors.black, Color? textContainerColor = Colors.white, int? polygonStrokeWidth = 3, int? polygonCornerRadius = 0, dynamic onBarcodeClicked(BarcodeItem item)?})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
onBarcodeClicked ↔ (dynamic Function(BarcodeItem item)?)
Callback that will be called when barcode on screen is clicked.
read / write
overlayEnabled bool
Whether the barcode selection overlay is enabled or not.
read / write
polygonColor Color?
The color of the polygon in the selection overlay.
read / write
polygonCornerRadius int?
Radius of polygon's rounded corners in the selection overlay. Default is 0.
read / write
polygonStrokeWidth int?
Width of polygon stroke in the selection overlay. Default is 3.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
textColor Color?
The color of the text in the selection overlay.
read / write
textContainerColor Color?
The color of the texts background in the selection overlay.
read / write
textFormat BarcodeOverlayTextFormat
Define the way of how to show barcode data with selection overlay.
read / write

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