elevation property Null safety

double? elevation
final

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

Defines the card's Material.elevation.

If this property is null then CardTheme.elevation of ThemeData.cardTheme is used. If that's null, the default value is 1.0.

Implementation

final double? elevation;