SearchBarThemeData constructor

const SearchBarThemeData(
  1. {MaterialStateProperty<double?>? elevation,
  2. MaterialStateProperty<Color?>? backgroundColor,
  3. MaterialStateProperty<Color?>? shadowColor,
  4. MaterialStateProperty<Color?>? surfaceTintColor,
  5. MaterialStateProperty<Color?>? overlayColor,
  6. MaterialStateProperty<BorderSide?>? side,
  7. MaterialStateProperty<OutlinedBorder?>? shape,
  8. MaterialStateProperty<EdgeInsetsGeometry?>? padding,
  9. MaterialStateProperty<TextStyle?>? textStyle,
  10. MaterialStateProperty<TextStyle?>? hintStyle,
  11. BoxConstraints? constraints,
  12. TextCapitalization? textCapitalization}
)

Creates a theme that can be used for ThemeData.searchBarTheme.

Implementation

const SearchBarThemeData({
  this.elevation,
  this.backgroundColor,
  this.shadowColor,
  this.surfaceTintColor,
  this.overlayColor,
  this.side,
  this.shape,
  this.padding,
  this.textStyle,
  this.hintStyle,
  this.constraints,
  this.textCapitalization,
});