RevealedOffset class
Return value for RenderAbstractViewport.getOffsetToReveal.
It indicates the offset required to reveal an element in a viewport and the rect position said element would have in the viewport at that offset.
Constructors
- RevealedOffset({@required double offset, @required Rect rect })
-
Instantiates a return value for RenderAbstractViewport.getOffsetToReveal.
const
Properties
- offset → double
-
Offset for the viewport to reveal a specific element in the viewport. [...]
final
- rect → Rect
-
The Rect in the outer coordinate system of the viewport at which the
to-be-revealed element would be located if the viewport's offset is set
to offset. [...]
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited