appBarHeight static method

double appBarHeight()

获取AppBar默认高度

返回结果: double AppBar高度(单位: dp)

示例:

double appBar = DScreenUtil.appBarHeight();

Implementation

static double appBarHeight() {
  return Get.mediaQuery.padding.top + kToolbarHeight;
}