fromPoints method Null safety
Implementation
static Rect fromPoints(Offset a, Offset b) =>
Rect(min(a.dx, b.dx), min(a.dy, b.dy), max(a.dx, b.dx), max(a.dy, b.dy));
static Rect fromPoints(Offset a, Offset b) =>
Rect(min(a.dx, b.dx), min(a.dy, b.dy), max(a.dx, b.dx), max(a.dy, b.dy));