smallestWidth static method

double smallestWidth()

Return smallest width of device

Implementation

static double smallestWidth() {
  final _width = _screenWidth;
  final _height = _screenHeight;
  return _width <= _height ? _width : _height;
}