width property

double get width

Returns the screen width. This property provides the width of the current screen using the size property.

Implementation

double get width => size.width;