getViewInsets top-level property

EdgeInsets get getViewInsets

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

Implementation

EdgeInsets get getViewInsets => mediaQuery.viewInsets;