diagonal property

double diagonal

Returns the diagonal size of the screen or the specified _requireSize.

Implementation

double get diagonal => sqrt((width * width) + (height * height));