INNER CODE UNIT · Dart
PinnedTranslate
hackware1993/Flutter_ConstraintLayout · lib/src/core.dart:561
class PinnedTranslate extends Offset {
final PinnedInfo _pinnedInfo;
PinnedTranslate(this._pinnedInfo) : super(0, 0);
PinnedTranslate._shift(this._pinnedInfo, double x, double y) : super(x, y);
@override
bool operator ==(Object other) =>
identical(this, other) ||
super == other &&
other is PinnedTranslate &&
runtimeType == other.runtimeType &&
_pinnedInfo == other._pinnedInfo;
@override
PinnedTranslate operator +(Offset other) =>
PinnedTranslate._shift(_pinnedInfo, other.dx, other.dy);