collapsedHeight property

double collapsedHeight
final

Defines the height of the app bar when it is collapsed.

By default, the collapsed height is toolbarHeight. If bottom widget is specified, then its bottom.preferredSize.height is added to the height. If primary is true, then the MediaQuery top padding, MediaQueryData.padding.top, is added as well.

If pinned and floating are true, with bottom set, the default collapsed height is only bottom.preferredSize.height with the MediaQuery top padding.

Implementation

final double collapsedHeight