deviceWidth property

double deviceWidth

Device Screen Size

Implementation

static double get deviceWidth => View.of(context).physicalSize.width;