width property

double get width

Get the width of the screen from the current BuildContext.

Implementation

double get width => media.size.width;