QueryBuilder<T, B extends Cubit<ResourceState<T> > > constructor
const
QueryBuilder<T, B extends Cubit<ResourceState<T> > > ({
- Key? key,
- required ResourceQueryBuilder<
T> builder, - required ResourceQueryRetryBuilder<
B> ? retry, - ResourceQueryOnSuccess<
T> ? onSuccess, - Widget? loadingWidget,
- Widget? retryWidget,
- 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);