viewInsets property

EdgeInsets get viewInsets

viewInsets → EdgeInsets 显示器的各个部分完全被系统UI遮挡,通常是设备的键盘

Implementation

EdgeInsets get viewInsets => mediaQuery.viewInsets;