squaredDiagonal property

double squaredDiagonal

The squared length of the diagonal of a rectangle with this Size.

Implementation

double get squaredDiagonal => width * width + height * height;