operator * method Null safety

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

Scales the Alignment in each dimension by the given factor.

Implementation

@override
Alignment operator *(double other) {
  return Alignment(x * other, y * other);
}