appBarHeight property
double
get
appBarHeight
默认只有标题的高度
Implementation
static double get appBarHeight {
var appBar = AppBar(
title: const Text('XXX'),
);
return appBar.preferredSize.height;
}
默认只有标题的高度
static double get appBarHeight {
var appBar = AppBar(
title: const Text('XXX'),
);
return appBar.preferredSize.height;
}