SharedCollectionBuilderComponent<C extends Collection<Model> , M extends Model>.auto constructor
SharedCollectionBuilderComponent<C extends Collection<Model> , M extends Model>.auto ({})
Implementation
factory SharedCollectionBuilderComponent.auto({
required String tag,
required Widget Function(BuildContext, List<M> models) builder,
Widget Function(BuildContext)? emptyBuilder,
Widget Function(BuildContext)? loadingBuilder,
int delayInMilliseconds = 1000,
Map<String, dynamic>? where,
Future<List<M>> Function(List<M>)? sort,
}) {
return SharedCollectionBuilderComponent(
tag: tag,
builder: builder,
emptyBuilder: emptyBuilder,
loadingBuilder: loadingBuilder,
delayInMilliseconds: delayInMilliseconds,
sort: sort,
where: where,
);
}