w property

double w

Returns width in pixels calculated as a percentage of the screen's width

ex: 50.w returns 50% of the screen's width

Implementation

double get w => this / 100 * _ResponsiveUnitsUtil.width;