preferredSize property Null safety

Size preferredSize
final

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

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

Implementation

@override
final Size preferredSize;