StreamMemberListController constructor
StreamMemberListController({
- required Channel channel,
- Filter? filter,
- List<
SortOption> ? sort, - 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());