appBarMaxHeight property
double
get
appBarMaxHeight
带有toolbar的高度
Implementation
static double get appBarMaxHeight {
var appBar = AppBar(
title: const Text('XXX'),
bottom: TabBar(
tabs: ['x','x'].map((e) => Text(e)).toList()
)
);
return appBar.preferredSize.height;
}