bottomBarTotalHeight static method

double bottomBarTotalHeight()

获取底部TabBar高度+底部安全距离高度

返回结果: double TabBar高度 + 底部安全区(单位: dp)

示例:

double tabBarTotal = DScreenUtil.bottomBarTotalHeight();

Implementation

static double bottomBarTotalHeight() {
  return kBottomNavigationBarHeight + Get.mediaQuery.padding.bottom;
}