elevation property Null safety

double? elevation

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

This controls the size of the shadow below the raised button.

Defaults to 2, the appropriate elevation for raised buttons. The value is always non-negative.

See also:


final double? elevation;