surfaceTintColor property

MaterialStateProperty<Color?>? surfaceTintColor
final

The surface tint color of the search bar's Material.

See Material.surfaceTintColor for more details.

If null, the value of SearchBarThemeData.surfaceTintColor will be used. If this is also null, then the default value is ColorScheme.surfaceTint.

Implementation

final MaterialStateProperty<Color?>? surfaceTintColor;