CNToolbarSearch constructor

const CNToolbarSearch({
  1. String? id,
  2. String label = 'Search',
  3. String? placeholder,
  4. String? text,
  5. double? width,
  6. CNTabBarSearchController? controller,
  7. ValueChanged<String>? onChanged,
  8. ValueChanged<String>? onSubmitted,
  9. ValueChanged<bool>? onActiveChanged,
})

Creates a toolbar search field.

Implementation

const CNToolbarSearch({
  super.id,
  this.label = 'Search',
  this.placeholder,
  this.text,
  this.width,
  this.controller,
  this.onChanged,
  this.onSubmitted,
  this.onActiveChanged,
});