viewPadding property

EdgeInsets get viewPadding

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

Implementation

EdgeInsets get viewPadding => mediaQuery.viewPadding;