AbstractItemBuilder<B extends StateStreamableSource<S> , S extends AbstractItemState> constructor
AbstractItemBuilder<B extends StateStreamableSource<S> , S extends AbstractItemState> ({
- Key? key,
- void onInit(
- BuildContext context
- bool skipInitialOnInit = false,
- Widget errorBuilder(
- BuildContext context,
- void onInit(),
- S state
- Widget noDataBuilder(
- BuildContext context,
- void onInit(),
- S state
- Widget loaderBuilder(
- BuildContext context,
- S state
- bool isLoading(
- BuildContext context,
- S state
- bool isError(
- BuildContext context,
- S state
- bool hasData(
- BuildContext context,
- S state
- Widget? child,
- Widget builder(
- BuildContext context,
- S state
- void listener(
- BuildContext context,
- S state
- void onLoaded(
- BuildContext context,
- S state
- void onLoadedCached(
- BuildContext context,
- S state
- void onError(
- BuildContext context,
- S state
- B? providerValue,
- B provider(
- BuildContext context
- List<
SingleChildWidget> ? providers,
Implementation
AbstractItemBuilder({
Key? key,
this.onInit,
this.skipInitialOnInit = false,
this.errorBuilder,
this.noDataBuilder,
this.loaderBuilder,
this.isLoading,
this.isError,
this.hasData,
this.child,
this.builder,
this.listener,
this.onLoaded,
this.onLoadedCached,
this.onError,
this.providerValue,
this.provider,
this.providers,
}) : super(key: key);