MaterialSearchBarData constructor

MaterialSearchBarData({
  1. Key? widgetKey,
  2. TextEditingController? controller,
  3. FocusNode? focusNode,
  4. void onTap()?,
  5. ValueChanged<String>? onChanged,
  6. Widget? leading,
  7. Iterable<Widget>? trailing,
  8. BoxConstraints? constraints,
  9. MaterialStateProperty<double?>? elevation,
  10. MaterialStateProperty<Color?>? shadowColor,
  11. MaterialStateProperty<Color?>? surfaceTintColor,
  12. MaterialStateProperty<Color?>? overlayColor,
  13. MaterialStateProperty<BorderSide?>? side,
  14. MaterialStateProperty<OutlinedBorder?>? shape,
  15. MaterialStateProperty<EdgeInsetsGeometry?>? padding,
  16. MaterialStateProperty<Color?>? backgroundColor,
  17. MaterialStateProperty<TextStyle?>? hintStyle,
  18. MaterialStateProperty<TextStyle?>? textStyle,
  19. String? hintText,
  20. ValueChanged<String>? onSubmitted,
  21. TextCapitalization? textCapitalization,
})

Implementation

MaterialSearchBarData({
  // Common
  super.widgetKey,
  super.controller,
  super.focusNode,
  super.onTap,
  super.onChanged,
  //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,
});