sfh property

double sfh

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

ex: 50.sfh returns 50% of the screen's safe height

Implementation

double get sfh => this / 100 * _ResponsiveUnitsUtil.safeHeight;