CNToolbarSearch constructor
const
CNToolbarSearch({
- String? id,
- String label = 'Search',
- String? placeholder,
- String? text,
- double? width,
- CNTabBarSearchController? controller,
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - 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,
});