bottomSafeHeight static method

double bottomSafeHeight()

获取底部安全距离高度

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

示例:

double safeBottom = DScreenUtil.bottomSafeHeight();

Implementation

static double bottomSafeHeight() {
  return Get.mediaQuery.padding.bottom;
}