PrettyQrNeighbourDirection enum
The direction in which there is a dark module.
Constructors
- PrettyQrNeighbourDirection(int x, int y)
-
The direction in which there is a dark module.
const
Values
- topLeft → const PrettyQrNeighbourDirection
-
The top left corner.
const PrettyQrNeighbourDirection(-1, -1)
- top → const PrettyQrNeighbourDirection
-
The point along the top edge.
const PrettyQrNeighbourDirection(0, -1)
- topRight → const PrettyQrNeighbourDirection
-
The top right corner.
const PrettyQrNeighbourDirection(1, -1)
- left → const PrettyQrNeighbourDirection
-
The point along the left edge.
const PrettyQrNeighbourDirection(-1, 0)
- right → const PrettyQrNeighbourDirection
-
The point along the right edge.
const PrettyQrNeighbourDirection(1, 0)
- bottomLeft → const PrettyQrNeighbourDirection
-
The bottom left corner.
const PrettyQrNeighbourDirection(-1, 1)
- bottom → const PrettyQrNeighbourDirection
-
The point along the bottom edge.
const PrettyQrNeighbourDirection(0, 1)
- bottomRight → const PrettyQrNeighbourDirection
-
The bottom right corner.
const PrettyQrNeighbourDirection(1, 1)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x → int
-
The distance fraction in the horizontal direction.
final
- y → int
-
The distance fraction in the vertical direction.
final
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
Constants
-
values
→ const List<
PrettyQrNeighbourDirection> - A constant List of the values in this enum, in order of their declaration.