operator * method

  1. @override
FractionalOffset operator * (double other)
override

Scales the Alignment in each dimension by the given factor.

Implementation

@override
FractionalOffset operator *(double other) {
  return FractionalOffset(dx * other, dy * other);
}