elevation property Null safety

double? elevation
final

The z-coordinate at which to place the snack bar. This controls the size of the shadow below the snack bar.

Defines the card's Material.elevation.

If this property is null, then SnackBarThemeData.elevation of ThemeData.snackBarTheme is used, if that is also null, the default value is 6.0.

Implementation

final double? elevation;