BaselineOffset extension type
A wrapper that represents the baseline location of a RenderBox
.
- on
Constructors
- BaselineOffset(double? offset)
-
const
Properties
Methods
-
minOf(
BaselineOffset other) → BaselineOffset -
Compares this BaselineOffset and
other
, and returns whichever is closer to the origin.
Operators
-
operator +(
double offset) → BaselineOffset -
Returns a new baseline location that is
offset
pixels further away from the origin thanthis
, or unchanged ifthis
is noBaseline.
Constants
- noBaseline → const BaselineOffset
-
A value that indicates that the associated
RenderBox
does not have any baselines.