SearchTextFieldParams constructor

SearchTextFieldParams({
  1. TextStyle? customTextStyle,
  2. TextInputType? textInputType,
  3. String? hint = "Search Data",
  4. Widget? suffixWidget,
  5. Widget? prefixWidget,
  6. dynamic onSubmit(
    1. String? value
    )?,
  7. bool readOnly = false,
  8. bool isDense = false,
  9. Color? fillColor,
  10. Color? hintColor,
  11. Color? iconColor,
  12. BoxBorder? border,
  13. BoxBorder? focusedBorder,
  14. EdgeInsets? padding,
  15. dynamic onTap()?,
  16. TextInputAction? textInputAction,
  17. double? radius,
  18. bool autoFocus = false,
  19. bool useClearTextField = true,
  20. dynamic addFunction()?,
})

Implementation

SearchTextFieldParams({
  this.customTextStyle,
  this.textInputType,
  this.hint = "Search Data",
  this.suffixWidget,
  this.prefixWidget,
  this.onSubmit,
  this.readOnly = false,
  this.isDense = false,
  this.fillColor,
  this.hintColor,
  this.iconColor,
  this.border,
  this.focusedBorder,
  this.padding,
  this.onTap,
  this.textInputAction,
  this.radius,
  this.autoFocus = false,
  this.useClearTextField = true,
  this.addFunction,
});