SharedCollectionBuilderComponent<C extends Collection<Model> , M extends Model>.items constructor
SharedCollectionBuilderComponent<C extends Collection<Model> , M extends Model>.items ({})
Implementation
factory SharedCollectionBuilderComponent.items({
required List<M> items,
required Widget Function(BuildContext, List<M> models) builder,
Widget Function(BuildContext)? emptyBuilder,
Widget Function(BuildContext)? loadingBuilder,
}) {
return SharedCollectionBuilderComponent(
items: items,
builder: builder,
emptyBuilder: emptyBuilder,
loadingBuilder: loadingBuilder,
);
}