SearchAppBar constructor
const
SearchAppBar({
- Key? key,
- bool isVisible = true,
- bool autofocus = false,
- Widget? surfaceLeading,
- Widget? leading,
- Widget? trailing,
- Widget? hint,
- Object? heroTag,
- FocusNode? focusNode,
- FutureOr<
void> onPressed()?, - FutureOr<
void> onChanged()?, - FutureOr<
void> onSubmitted()?, - FutureOr<
void> onEditingComplete()?, - FutureOr<
void> onFocused()?, - FutureOr<
void> onCleared()?, - Color? color,
- 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,
});