CometChatListBase constructor
const
CometChatListBase({
- Key? key,
- ListBaseStyle style = const ListBaseStyle(),
- Widget? backIcon,
- required String title,
- bool? hideSearch = false,
- Widget? searchBoxIcon,
- required Widget container,
- bool? showBackButton = false,
- void onSearch(
- String val
- String? placeholder,
- String? searchText,
- CometChatTheme? theme,
- VoidCallback? onBack,
- bool? hideAppBar = false,
Creates a widget that that gives CometChat ListBase UI
Implementation
const CometChatListBase(
{super.key,
this.style = const ListBaseStyle(),
this.backIcon,
required this.title,
this.hideSearch = false,
this.searchBoxIcon,
required this.container,
this.showBackButton = false,
this.onSearch,
this.menuOptions,
this.placeholder,
this.searchText,
this.theme,
this.onBack,
this.hideAppBar = false});