scrolledUnderElevation property Null safety

double? scrolledUnderElevation

The elevation that will be used if this app bar has something scrolled underneath it.

If non-null then it AppBarTheme.scrolledUnderElevation of ThemeData.appBarTheme will be used. If that is also null then elevation will be used.

The value must be non-negative.

See also:

  • elevation, which will be used if there is no content scrolled under the app bar.
  • shadowColor, which is the color of the shadow below the app bar.
  • surfaceTintColor, which determines the elevation overlay that will be applied to the background of the app bar.
  • shape, which defines the shape of the app bar's Material and its shadow.


final double? scrolledUnderElevation;