shortestSide property
double
get
shortestSide
Retrieves the text scale factor of the current media query in the current context, similar to MediaQuery.textScalerOf(this). Retrieves the shortest side of the screen in the current context.
Implementation
// TextScaler get textScaleFactor => MediaQuery.textScalerOf(this);
/// Retrieves the shortest side of the screen in the current context.
double get shortestSide => mediaQuerySize.shortestSide;