QueryBuilder<T, B extends Cubit<ResourceState<T>>> constructor

const QueryBuilder<T, B extends Cubit<ResourceState<T>>>({
  1. Key? key,
  2. required ResourceQueryBuilder<T> builder,
  3. required ResourceQueryRetryBuilder<B>? retry,
  4. ResourceQueryOnSuccess<T>? onSuccess,
  5. Widget? loadingWidget,
  6. Widget? retryWidget,
  7. ResourceQueryRetryBuilder<B>? initializer,
})

Implementation

const QueryBuilder({
  Key? key,
  required this.builder,
  required this.retry,
  this.onSuccess,
  this.loadingWidget,
  this.retryWidget,
  this.initializer,
}) : super(key: key);