XSearchBar constructor

XSearchBar({
  1. String? labelText,
  2. TextStyle? textStyle,
  3. double? height,
  4. TextEditingController? controller,
  5. BoxDecoration? decorationOfContainerXSearch,
  6. Color? colorIconForClear,
  7. Color? colorIconForSearch,
  8. Widget? iconForClear,
  9. dynamic onPressedSearch()?,
  10. dynamic onPressed()?,
  11. Color? iconColor,
  12. Color? borderColor,
  13. String? hintText,
  14. TextStyle? hintStyle,
  15. TextStyle? labelStyle,
  16. Widget? iconForSearch,
  17. InputBorder? enabledBorder,
  18. InputBorder? disabledBorder,
  19. InputBorder? border,
  20. FocusNode? searchFocus,
  21. dynamic onTextChanged(
    1. String
    )?,
  22. dynamic onPressedClear()?,
  23. Color? colorOfSearchBox,
  24. EdgeInsetsGeometry? marginOfSearchBox,
  25. EdgeInsetsGeometry? paddingOfContent,
  26. bool autoFocus = true,
})

Implementation

XSearchBar({
  this.labelText,
  this.textStyle,
  this.height,
  this.controller,
  this.decorationOfContainerXSearch,
  this.colorIconForClear,
  this.colorIconForSearch,
  this.iconForClear,
  this.onPressedSearch,
  this.onPressed,
  this.iconColor,
  this.borderColor,
  this.hintText,
  this.hintStyle,
  this.labelStyle,
  this.iconForSearch,
  this.enabledBorder,
  this.disabledBorder,
  this.border,
  this.searchFocus,
  this.onTextChanged,
  this.onPressedClear,
  this.colorOfSearchBox,
  this.marginOfSearchBox,
  this.paddingOfContent,
  this.autoFocus = true,
});