MaterialSearchBarData constructor
MaterialSearchBarData({
- Key? widgetKey,
- TextEditingController? controller,
- FocusNode? focusNode,
- void onTap()?,
- ValueChanged<
String> ? onChanged, - bool? autofocus,
- TextInputType? keyboardType,
- Widget? leading,
- Iterable<
Widget> ? trailing, - BoxConstraints? constraints,
- MaterialStateProperty<
double?> ? elevation, - MaterialStateProperty<
Color?> ? shadowColor, - MaterialStateProperty<
Color?> ? surfaceTintColor, - MaterialStateProperty<
Color?> ? overlayColor, - MaterialStateProperty<
BorderSide?> ? side, - MaterialStateProperty<
OutlinedBorder?> ? shape, - MaterialStateProperty<
EdgeInsetsGeometry?> ? padding, - MaterialStateProperty<
Color?> ? backgroundColor, - MaterialStateProperty<
TextStyle?> ? hintStyle, - MaterialStateProperty<
TextStyle?> ? textStyle, - String? hintText,
- ValueChanged<
String> ? onSubmitted, - TextCapitalization? textCapitalization,
- TextInputAction? textInputAction,
Implementation
MaterialSearchBarData({
// Common
super.widgetKey,
super.controller,
super.focusNode,
super.onTap,
super.onChanged,
super.autofocus,
super.keyboardType,
//Material
this.leading,
this.trailing,
this.constraints,
this.elevation,
this.shadowColor,
this.surfaceTintColor,
this.overlayColor,
this.side,
this.shape,
this.padding,
this.backgroundColor,
this.hintStyle,
this.textStyle,
this.hintText,
this.onSubmitted,
this.textCapitalization,
this.textInputAction,
});