SearchTextFieldWidget constructor

const SearchTextFieldWidget({
  1. Key? key,
  2. dynamic onChanged(
    1. String val
    )?,
  3. dynamic onFieldSubmitted(
    1. String?
    )?,
  4. dynamic onSaved(
    1. String?
    )?,
  5. dynamic onSearchCleared(
    1. String?
    )?,
  6. String? hintText,
  7. TextEditingController? textEditingController,
  8. EdgeInsets? contentPadding,
  9. String? initialVal,
  10. FocusNode? focusNode,
  11. VoidCallback? onTapToTextField,
  12. bool showCursor = false,
})

Implementation

const SearchTextFieldWidget({
  super.key,
  this.onChanged,
  this.onFieldSubmitted,
  this.onSaved,
  this.onSearchCleared,
  this.hintText,
  this.textEditingController,
  this.contentPadding,
  this.initialVal,
  this.focusNode,
  this.onTapToTextField,
  this.showCursor = false,
});