getViewPadding top-level property

EdgeInsets get getViewPadding

viewPadding → EdgeInsets 显示器的部分被系统UI部分遮挡,通常由硬件显示“凹槽”或系统状态栏

Implementation

EdgeInsets get getViewPadding => mediaQuery.viewPadding;