diagonal property

double get diagonal

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

Implementation

double get diagonal => math.sqrt(squaredDiagonal);