NewRequestsView constructor

const NewRequestsView({
  1. NewRequestListViewController? controller,
  2. ChatUIKitAppBarModel? appBarModel,
  3. void onSearchTap(
    1. List<NewRequestItemModel> data
    )?,
  4. ChatUIKitNewRequestItemBuilder? itemBuilder,
  5. void onTap(
    1. BuildContext context,
    2. NewRequestItemModel model
    )?,
  6. void onLongPress(
    1. BuildContext context,
    2. NewRequestItemModel 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 NewRequestsView({
  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,
});