screenDiagonal property
double
get
screenDiagonal
Returns the diagonal size of the screen.
Implementation
double get screenDiagonal =>
sqrt((screenWidth * screenWidth) + (screenHeight * screenHeight));