intersectionArea method

double intersectionArea(
  1. Rect other
)

Implementation

double intersectionArea(Rect other) {
  final i = intersection(other);
  return i == null ? 0.0 : i.width * i.height;
}