operator ~/ method Null safety

  1. @override
Alignment operator ~/(
  1. double other
)
override

Integer divides the Alignment in each dimension by the given factor.

Implementation

@override
Alignment operator ~/(double other) {
  return Alignment((x ~/ other).toDouble(), (y ~/ other).toDouble());
}