operator unary- method Null safety

  1. @override
FractionalOffset operator unary-()
override

Returns the negation of the given Alignment.

Implementation

@override
FractionalOffset operator -() {
  return FractionalOffset(-dx, -dy);
}