deviceWidth property
double
deviceWidth
Retrieves the width of the device screen.
Implementation
double get deviceWidth => MediaQuery.of(this).size.width;
Retrieves the width of the device screen.
double get deviceWidth => MediaQuery.of(this).size.width;