An abstract representation of a sheet's position.
It is used in various contexts by sheets, for example, to define how much of the sheet is initially visible at the first build or to limit the range within which the sheet can be dragged.
- Implementers
- Annotations
Constructors
- SheetOffset.new(double factor)
-
Creates an anchor that positions the sheet
proportionally to its content height.
constfactory
- SheetOffset.absolute(double value)
-
Creates an anchor that represents a fixed position in offset.
constfactory
- SheetOffset.proportionalToViewport(double factor)
-
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
resolve(
ViewportLayout metrics) → double - Resolves the position to an actual value in pixels.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited