SearchAppBar constructor

const SearchAppBar({
  1. Key? key,
  2. bool isVisible = true,
  3. bool autofocus = false,
  4. Widget? surfaceLeading,
  5. Widget? leading,
  6. Widget? trailing,
  7. Widget? hint,
  8. Object? heroTag,
  9. FocusNode? focusNode,
  10. FutureOr<void> onPressed()?,
  11. FutureOr<void> onChanged(
    1. String
    )?,
  12. FutureOr<void> onSubmitted(
    1. String
    )?,
  13. FutureOr<void> onEditingComplete()?,
  14. FutureOr<void> onFocused()?,
  15. FutureOr<void> onCleared()?,
  16. Color? color,
  17. required TextEditingController controller,
})

Implementation

const SearchAppBar({
  super.key,
  this.isVisible = true,
  this.autofocus = false,
  this.surfaceLeading,
  this.leading,
  this.trailing,
  this.hint,
  this.heroTag,
  this.focusNode,
  this.onPressed,
  this.onChanged,
  this.onSubmitted,
  this.onEditingComplete,
  this.onFocused,
  this.onCleared,
  this.color,
  required this.controller,
});