VSearchBar constructor

const VSearchBar({
  1. Key? key,
  2. double height = _searchViewHeight,
  3. String? text = '',
  4. String hintText = _hintText,
  5. int? maxLength,
  6. Color? bgColor,
  7. bool isShowDeleteBtn = true,
  8. bool isShowBorder = false,
  9. TextInputAction? textInputAction = TextInputAction.search,
  10. _InputCallBack? inputCallBack,
  11. _InputCompletionCallBack? inputCompletionCallBack,
  12. Widget? searchImg,
  13. String? searchBorderColor,
  14. EdgeInsetsGeometry? padding,
  15. FocusNode? focusNode,
  16. String? searchBgColor,
  17. VoidCallback? clickInput,
  18. double? radius,
})

Implementation

const VSearchBar({Key? key,
  this.height = _searchViewHeight,
  this.text = '',
  this.hintText = _hintText,
  this.maxLength,
  this.bgColor,
  this.isShowDeleteBtn = true,
  this.isShowBorder = false,
  // this.contentPadding = _contentPadding,
  this.textInputAction = TextInputAction.search,
  this.inputCallBack,
  this.inputCompletionCallBack,
  this.searchImg,
  // this.hintColor,
  this.searchBorderColor,
  this.padding,
  // this.cursorColor,
  this.focusNode,
  this.searchBgColor,
  this.clickInput,
  this.radius})
    : super(key: key);