VisibleBarcode class final
A barcode in view, positioned in the scanner widget.
- Annotations
Constructors
-
VisibleBarcode(Barcode barcode, List<
Offset> corners, {int id = 0}) -
Creates a visible barcode.
const
Properties
- barcode → Barcode
-
The barcode.
final
- bounds → Rect
-
The smallest rectangle containing corners.
no setter
-
corners
→ List<
Offset> -
Its corners in widget coordinates (top-left, top-right, bottom-right,
bottom-left of the symbol).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Stays the same while the barcode stays in view, and differs between
barcodes in view, even two with the same content: a key for a widget
that follows it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited