width property

double get width

Returns the width of the device

Implementation

double get width => MediaQuery.sizeOf(this).width;