diagonal property

double diagonal

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

Implementation

double get diagonal => sqrt(squaredDiagonal);