PositionResult class
A result of a conversion of a pixel offset into column/row index.
See also:
- ViewportContext.positionToPixel that generates this result.
- Annotations
Constructors
- PositionResult({required Axis axis, required OffscreenDetails overflow, required int position, required bool isFrozen})
-
const
Properties
- axis → Axis
-
Defines if the retuning position is either of a column or of a row.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isFrozen → bool
-
Defines if the given cell is in a frozen area of the grid.
final
- overflow → OffscreenDetails
-
Defines if the original pixel is outside the viewport.
final
- position → int
-
Is column/row index that contains the original the pixel. Bound to the visible range.
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.
override