backgroundColor property

WidgetStateProperty<Color?>? backgroundColor
final

The search bar's background fill color.

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

Implementation

final WidgetStateProperty<Color?>? backgroundColor;