BaselineOffset extension type

A wrapper that represents the baseline location of a RenderBox.

on

Constructors

BaselineOffset(double? offset)
const

Properties

offset double?
final

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 than this, or unchanged if this is noBaseline.

Constants

noBaseline → const BaselineOffset
A value that indicates that the associated RenderBox does not have any baselines.