GroupsView constructor

const GroupsView({
  1. GroupListViewController? controller,
  2. ChatUIKitAppBarModel? appBarModel,
  3. void onSearchTap(
    1. List<GroupItemModel> data
    )?,
  4. ChatUIKitGroupItemBuilder? itemBuilder,
  5. void onTap(
    1. BuildContext context,
    2. GroupItemModel model
    )?,
  6. void onLongPress(
    1. BuildContext context,
    2. GroupItemModel model
    )?,
  7. String? searchBarHideText,
  8. Widget? listViewBackground,
  9. String? loadErrorMessage,
  10. bool enableAppBar = true,
  11. String? attributes,
  12. ChatUIKitViewObserver? viewObserver,
  13. Key? key,
})

Implementation

const GroupsView({
  this.controller,
  this.appBarModel,
  this.onSearchTap,
  this.itemBuilder,
  this.onTap,
  this.onLongPress,
  this.searchBarHideText,
  this.listViewBackground,
  this.loadErrorMessage,
  this.enableAppBar = true,
  this.attributes,
  this.viewObserver,
  super.key,
});