preferredSize property

Size preferredSize
final

A size whose height is the sum of kToolbarHeight and the bottom widget's preferred height.

Scaffold uses this this size to set its app bar's height.

Implementation

final Size preferredSize