operator ~/ method Null safety

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

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

Implementation

@override
FractionalOffset operator ~/(double other) {
  return FractionalOffset((dx ~/ other).toDouble(), (dy ~/ other).toDouble());
}