UIProSearchAppBar constructor
const
UIProSearchAppBar({
- Key? key,
- String hint = "Search...",
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - VoidCallback? onClose,
- String? initialText,
- bool autofocus = true,
- Color? backgroundColor,
- Color? textColor,
Creates a search app bar.
Implementation
const UIProSearchAppBar({
super.key,
this.hint = "Search...",
this.onChanged,
this.onSubmitted,
this.onClose,
this.initialText,
this.autofocus = true,
this.backgroundColor,
this.textColor,
});