BlocListBuilder<R, S> constructor

BlocListBuilder<R, S>({
  1. Key? key,
  2. required ListBloc<R, S> bloc,
  3. Widget? onEmpty,
  4. Widget? onBusy,
  5. required ToWidget<S> builder,
  6. int scrollThreshold = 200,
  7. ErrorBuilder? onError,
})

Implementation

BlocListBuilder({
  Key? key,
  required this.bloc,
  this.onEmpty,
  this.onBusy,
  required this.builder,
  this.scrollThreshold = 200,
  this.onError,
}) : super(key: key) {
  bloc.load(0);
}