SharedCollectionBuilderComponent<C extends Collection<Model>, M extends Model> constructor

const SharedCollectionBuilderComponent<C extends Collection<Model>, M extends Model>({
  1. List<M>? items,
  2. String? tag,
  3. required Widget builder(
    1. BuildContext,
    2. List<M> models
    ),
  4. Future<List<M>> sort(
    1. List<M>
    )?,
  5. int delayInMilliseconds = 1000,
  6. Widget loadingBuilder(
    1. BuildContext
    )?,
  7. Widget emptyBuilder(
    1. BuildContext
    )?,
  8. Map<String, dynamic>? where,
  9. Key? key,
})

Implementation

const SharedCollectionBuilderComponent(
    {this.items,
    this.tag,
    required this.builder,
    this.sort,
    this.delayInMilliseconds = 1000,
    this.loadingBuilder,
    this.emptyBuilder,
    this.where,
    super.key});