ModernFormSearchWidget constructor

ModernFormSearchWidget({
  1. required void onCancelSearch(),
  2. Color? color,
  3. String hintText = "",
  4. required TextEditingController controller,
  5. FocusNode? focus,
  6. dynamic onChanged(
    1. String text
    )?,
  7. void onClear()?,
  8. Widget? child,
})

Implementation

ModernFormSearchWidget({
  required this.onCancelSearch,
  this.color,
  this.hintText = "",
  required this.controller,
  this.focus,
  this.onChanged,
  this.onClear,
  this.child,
});