operator + method

BaselineOffset operator +(
  1. double offset
)

Returns a new baseline location that is offset pixels further away from the origin than this, or unchanged if this is noBaseline.

Implementation

BaselineOffset operator +(double offset) {
  final double? value = this.offset;
  return BaselineOffset(value == null ? null : value + offset);
}