FractionalViewportInset class
A viewport inset that is defined by a fractional value.
- Inheritance
-
- Object
- ViewportInset
- FractionalViewportInset
Constructors
- FractionalViewportInset.new(double fraction)
-
Creates a viewport inset from a fractional value.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toConcreteValue(
ViewportMetrics metrics) → double -
Calculate the concrete pixels represented by this object
from the current viewport dimensions.
override
-
toScrollOffset(
ViewportMetrics metrics) → double -
Convert the inset to a scroll offset for ScrollPosition.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited