operator ~/ method

  1. @override
EdgeInsets operator ~/(
  1. 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(),
  );
}