CNBottomToolbar constructor

const CNBottomToolbar({
  1. Key? key,
  2. Widget? leadingAction,
  3. Widget? trailingAction,
  4. String searchPlaceholder = 'Search',
  5. ValueChanged<String>? onSearchChanged,
  6. ValueChanged<String>? onSearchSubmitted,
  7. ValueChanged<bool>? onSearchFocusChanged,
  8. IconData? currentTabIcon,
  9. String? currentTabLabel,
  10. double height = 50.0,
  11. 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,
});