WrapperSessionScanViewConfigOptionSegmentConfig class

Optional multi-mode segment control for switching between scanning configurations.

Multi-mode segment control allowing users to switch between different scanning configurations (e.g., MRZ, Barcode, License Plate modes). Requires equal numbers of titles and viewConfigs.

Properties

hashCode int
The hash code for this object.
no setterinherited
offsetX double?
getter/setter pair
offsetY double?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tintColor String?
Hex color code (e.g., 'FF0000' for red) applied to the selected segment and control tinting.
getter/setter pair
titleIndex int?
Zero-based index indicating which segment should be initially selected. Must be within the bounds of the titles array.
getter/setter pair
titles List<String>?
Array of display names for each scanning mode shown to users in the segment control.
getter/setter pair
viewConfigs List<String>?
Array of ScanView configuration filenames located in the assets folder. Each file defines a complete scanning mode configuration.
getter/setter pair

Methods

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

Operators

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