elevation property Null safety

double? elevation
final

The z-coordinate at which to place this app bar relative to its parent.

This property controls the size of the shadow below the app bar.

The value must be non-negative.

If this property is null, then AppBarTheme.elevation of ThemeData.appBarTheme is used. If that is also null, the default value is 4.

This property is used to configure an AppBar.

Implementation

final double? elevation;