BaselineOffset extension type
A wrapper that represents the baseline location of a RenderBox.
- on
Constructors
- BaselineOffset.new(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
offsetpixels further away from the origin thanthis, or unchanged ifthisis noBaseline.
Constants
- noBaseline → const BaselineOffset
-
A value that indicates that the associated
RenderBoxdoes not have any baselines.