deviceWidth property

double get deviceWidth

Implementation

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