CNTabBarSearchItem constructor
const
CNTabBarSearchItem({
- CNSymbol? icon,
- CNSymbol? activeIcon,
- String label = 'Search',
- String placeholder = 'Search',
- ValueChanged<
String> ? onSearchChanged, - ValueChanged<
String> ? onSearchSubmit, - ValueChanged<
bool> ? onSearchActiveChanged, - bool automaticallyActivatesSearch = true,
- CNTabBarSearchStyle style = const CNTabBarSearchStyle(),
Creates a search tab configuration.
Implementation
const CNTabBarSearchItem({
this.icon,
this.activeIcon,
this.label = 'Search',
this.placeholder = 'Search',
this.onSearchChanged,
this.onSearchSubmit,
this.onSearchActiveChanged,
this.automaticallyActivatesSearch = true,
this.style = const CNTabBarSearchStyle(),
});