preferredSize property
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
get preferredSize => ResponsiveHelper.currently(ScreenType.Watch) ? const Size.fromHeight(15.0) : const Size.fromHeight(50.0);