CNBottomToolbar constructor
const
CNBottomToolbar({
- Key? key,
- Widget? leadingAction,
- Widget? trailingAction,
- String searchPlaceholder = 'Search',
- ValueChanged<
String> ? onSearchChanged, - ValueChanged<
String> ? onSearchSubmitted, - ValueChanged<
bool> ? onSearchFocusChanged, - IconData? currentTabIcon,
- String? currentTabLabel,
- double height = 50.0,
- Color? backgroundColor,
Creates a bottom toolbar with expandable search.
Implementation
const CNBottomToolbar({
super.key,
this.leadingAction,
this.trailingAction,
this.searchPlaceholder = 'Search',
this.onSearchChanged,
this.onSearchSubmitted,
this.onSearchFocusChanged,
this.currentTabIcon,
this.currentTabLabel,
this.height = 50.0,
this.backgroundColor,
});