ChannelsBloc constructor

const ChannelsBloc({
  1. Key? key,
  2. required Widget child,
  3. bool lockChannelsOrder = false,
  4. Comparator<Channel>? channelsComparator,
  5. bool shouldAddChannel(
    1. Event
    )?,
})

Creates a new ChannelsBloc. The parameter child must be supplied and not null.

Implementation

const ChannelsBloc({
  Key? key,
  required this.child,
  this.lockChannelsOrder = false,
  this.channelsComparator,
  this.shouldAddChannel,
}) : super(key: key);