operator + method
Adds an offset to this baseline position.
If this baseline is null (noBaseline), returns null. Otherwise, adds the offset to the baseline position.
Implementation
LayoutBaselineOffset operator +(double offset) {
final double? value = this.offset;
return LayoutBaselineOffset(value == null ? null : value + offset);
}