screenDiagonal property

double screenDiagonal

Returns the diagonal size of the screen.

Implementation

double get screenDiagonal =>
    sqrt((screenWidth * screenWidth) + (screenHeight * screenHeight));