widgetWidth method

double widgetWidth()

Get the width of the screen

Implementation

double widgetWidth() {
  return MediaQuery.sizeOf(this).width;
}