UIProSearchAppBar constructor

const UIProSearchAppBar({
  1. Key? key,
  2. String hint = "Search...",
  3. ValueChanged<String>? onChanged,
  4. ValueChanged<String>? onSubmitted,
  5. VoidCallback? onClose,
  6. String? initialText,
  7. bool autofocus = true,
  8. Color? backgroundColor,
  9. 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,
});