getMediaQueryInfo function

EdgeInsets getMediaQueryInfo(
  1. BuildContext context
)

获取页面边距信息,如:状态栏高度、底部安全区高度等

Implementation

EdgeInsets getMediaQueryInfo(BuildContext context) => MediaQuery.of(context).padding;