ModernFormSearchAppBar constructor

const ModernFormSearchAppBar({
  1. Key? key,
  2. required String title,
  3. required void onCancelSearch()?,
  4. required dynamic onChanged(
    1. String text
    )?,
  5. void onTapSearch()?,
  6. Widget? action,
  7. String? hintText,
  8. Widget? child,
  9. PreferredSizeWidget? bottom,
  10. bool searchDefaultEnabled = false,
})

Implementation

const ModernFormSearchAppBar({
  Key? key,
  required this.title,
  required this.onCancelSearch,
  required this.onChanged,
  this.onTapSearch,
  this.action,
  this.hintText,
  this.child,
  this.bottom,
  this.searchDefaultEnabled = false,
}) : super(key: key);