width property

double get width

Access current screen width

Implementation

double get width => MediaQuery.of(this).size.width;