elevation property

double? elevation
final

The elevation of the button.

Defaults to null, resolving to minimal elevation (resting 1.0, hover 2.0, pressed 0.5) for solid buttons, 0.5 for tonal buttons, and 0.0 for outline/text buttons.

Implementation

final double? elevation;