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