operator ~/ method Null safety

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

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

Implementation

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