width property

double get width

Get the current width of the device

Implementation

double get width {
  return MediaQuery.sizeOf(context).width;
}