ComputeListWidget<T> constructor
const
ComputeListWidget<T> ({
- Key? key,
- required Widget builder(
- T? data
- required Widget loader,
- required Widget errorWidget,
- bool errorOrEmptyCondition(
- List<
T> ? data
- List<
- required List dataList,
- required FutureOr<
List< computeFunction(T> >- dynamic
- Axis scrollDirection = Axis.vertical,
- ScrollController? scrollController,
- Widget wrapperWidget() = staticWrapperWidget,
Implementation
const ComputeListWidget(
{Key? key,
required this.builder,
required this.loader,
required this.errorWidget,
this.errorOrEmptyCondition = errorOrEmptyConditionHandler,
required this.dataList,
required this.computeFunction,
this.scrollDirection = Axis.vertical,
this.scrollController,
this.wrapperWidget = staticWrapperWidget})
: super(key: key);