elevation property

MaterialStateProperty<double?>? elevation
final

The elevation of the search bar's Material.

If null, the value of SearchBarThemeData.elevation will be used. If this is also null, then default value is 6.0.

Implementation

final MaterialStateProperty<double?>? elevation;