GroupListView constructor

const GroupListView({
  1. GroupListViewController? controller,
  2. ChatUIKitGroupItemBuilder? itemBuilder,
  3. List<Widget>? beforeWidgets,
  4. List<Widget>? afterWidgets,
  5. void onSearchTap(
    1. List<GroupItemModel> data
    )?,
  6. String? searchBarHideText,
  7. Widget? emptyBackground,
  8. String? errorMessage,
  9. String? reloadMessage,
  10. void onTap(
    1. BuildContext context,
    2. GroupItemModel model
    )?,
  11. void onLongPress(
    1. BuildContext context,
    2. GroupItemModel model
    )?,
  12. bool enableSearch = false,
  13. Key? key,
})

Implementation

const GroupListView({
  this.controller,
  this.itemBuilder,
  this.beforeWidgets,
  this.afterWidgets,
  this.onSearchTap,
  this.searchBarHideText,
  this.emptyBackground,
  this.errorMessage,
  this.reloadMessage,
  this.onTap,
  this.onLongPress,
  this.enableSearch = false,
  super.key,
});