StreamMemberListController constructor

StreamMemberListController({
  1. required Channel channel,
  2. Filter? filter,
  3. List<SortOption>? sort,
  4. int limit = defaultMemberPagedLimit,
})

Creates a Stream member list controller.

  • client is the Stream chat client to use for the channels list.

  • filter is the query filters to use.

  • sort is the sorting used for the members matching the filters.

  • limit is the limit to apply to the member list.

Implementation

StreamMemberListController({
  required this.channel,
  this.filter,
  this.sort,
  this.limit = defaultMemberPagedLimit,
})  : _activeFilter = filter,
      _activeSort = sort,
      super(const PagedValue.loading());