sfdg property
double
get
sfdg
Returns the (safe) diagonal length in pixels calculated as a percentage of the screen's diagonal length excluding the parts of the display that are partially obscured by system UI (such as notches and the status bar)
ex: 50.sfdg
returns 50% of the screen's safe diagonal
This is useful for scaling text and corners
Implementation
double get sfdg => this / 100 * _ResponsiveUnitsUtil.safeDiagonal;