VSearchBar constructor
const
VSearchBar({
- Key? key,
- double height = _searchViewHeight,
- String? text = '',
- String hintText = _hintText,
- int? maxLength,
- Color? bgColor,
- bool isShowDeleteBtn = true,
- bool isShowBorder = false,
- TextInputAction? textInputAction = TextInputAction.search,
- _InputCallBack? inputCallBack,
- _InputCompletionCallBack? inputCompletionCallBack,
- Widget? searchImg,
- String? searchBorderColor,
- EdgeInsetsGeometry? padding,
- FocusNode? focusNode,
- String? searchBgColor,
- VoidCallback? clickInput,
- 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);