operator + method

  1. @override
PinnedTranslate operator +(
  1. Offset other
)
override

Binary addition operator.

Returns an offset whose dx value is the sum of the dx values of the two operands, and whose dy value is the sum of the dy values of the two operands.

See also translate.

Implementation

@override
PinnedTranslate operator +(Offset other) =>
    PinnedTranslate._shift(_pinnedInfo, other.dx, other.dy);