getBottomBarH static method

double getBottomBarH(
  1. BuildContext context
)

status bar Height 当前BottomBar高度

Implementation

static double getBottomBarH(BuildContext context) {
  var mediaQuery = MediaQuery.of(context);
  return mediaQuery.padding.bottom;
}