hintStyle property

MaterialStateProperty<TextStyle?>? hintStyle
final

The style to use for the hintText.

If null, the value of SearchBarThemeData.hintStyle will be used. If this is also null, the value of textStyle will be used. If this is also null, defaults to the bodyLarge text style from the current Theme. The default text color is ColorScheme.onSurfaceVariant.

Implementation

final MaterialStateProperty<TextStyle?>? hintStyle;