operator + method Null safety
- Alignment other
override
Returns the sum of two Alignments.
Implementation
@override
Alignment operator +(Alignment other) {
if (other is! FractionalOffset) {
return super + other;
}
return FractionalOffset(dx + other.dx, dy + other.dy);
}