flexibleSpace property
This widget is stacked behind the toolbar and the tab bar. It's height will be the same as the app bar's overall height.
A flexible space isn't actually flexible unless the NewGradientAppBar's container changes the NewGradientAppBar's size. A SliverNewGradientAppBar in a CustomScrollView changes the NewGradientAppBar's height when scrolled.
Typically a FlexibleSpaceBar. See FlexibleSpaceBar for details.
Implementation
final Widget? flexibleSpace;