operator ~/ method

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

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

Implementation

@override
EdgeInsets operator ~/(double other) {
  return EdgeInsets.fromLTRB(
    (left ~/ other).toDouble(),
    (top ~/ other).toDouble(),
    (right ~/ other).toDouble(),
    (bottom ~/ other).toDouble(),
  );
}