forceElevated property
final
Whether to show the shadow appropriate for the elevation even if the content is not scrolled under the AppBar.
Defaults to false, meaning that the elevation is only applied when the AppBar is being displayed over content that is scrolled under it.
When set to true, the elevation is applied regardless.
Ignored when elevation is zero.
Implementation
final bool forceElevated;