yStatubarHeight function

double yStatubarHeight({
  1. BuildContext? context,
})

获取状态栏高度

Implementation

double yStatubarHeight({BuildContext? context}) => MediaQuery.of(context ?? yPages.last.context).padding.top;