sfw property

double sfw

Returns the (safe) width in pixels calculated as a percentage of the screen's width excluding the parts of the display that are partially obscured by system UI (such as notches and the status bar)

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

Implementation

double get sfw => this / 100 * _ResponsiveUnitsUtil.safeWidth;