ChannelListCore constructor

const ChannelListCore({
  1. Key? key,
  2. required ErrorBuilder errorBuilder,
  3. required WidgetBuilder emptyBuilder,
  4. required WidgetBuilder loadingBuilder,
  5. required dynamic listBuilder(
    1. BuildContext,
    2. List<Channel>
    ),
  6. Filter? filter,
  7. bool state = true,
  8. bool watch = true,
  9. bool presence = false,
  10. int? memberLimit,
  11. int? messageLimit,
  12. List<SortOption<ChannelModel>>? sort,
  13. ChannelListController? channelListController,
  14. int limit = 25,
})

Instantiate a new ChannelListView

Implementation

const ChannelListCore({
  Key? key,
  required this.errorBuilder,
  required this.emptyBuilder,
  required this.loadingBuilder,
  required this.listBuilder,
  this.filter,
  this.state = true,
  this.watch = true,
  this.presence = false,
  this.memberLimit,
  this.messageLimit,
  this.sort,
  this.channelListController,
  this.limit = 25,
}) : super(key: key);