UserListView constructor

const UserListView({
  1. Key? key,
  2. Query<Object?>? query,
  3. int pageSize = 40,
  4. Widget loadingBuilder()?,
  5. Widget errorBuilder(
    1. String
    )?,
  6. Widget separatorBuilder(
    1. BuildContext,
    2. int
    )?,
  7. Axis scrollDirection = Axis.vertical,
  8. bool reverse = false,
  9. ScrollController? controller,
  10. bool? primary,
  11. ScrollPhysics? physics,
  12. bool shrinkWrap = false,
  13. EdgeInsetsGeometry? padding,
  14. bool addAutomaticKeepAlives = true,
  15. bool addRepaintBoundaries = true,
  16. bool addSemanticIndexes = true,
  17. double? cacheExtent,
  18. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  19. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  20. String? restorationId,
  21. Clip clipBehavior = Clip.hardEdge,
  22. Widget itemBuilder(
    1. User,
    2. int
    )?,
  23. Widget emptyBuilder()?,
})

Implementation

const UserListView({
  super.key,
  this.query,
  this.pageSize = 40,
  this.loadingBuilder,
  this.errorBuilder,
  this.separatorBuilder,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.cacheExtent,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.restorationId,
  this.clipBehavior = Clip.hardEdge,
  this.itemBuilder,
  this.emptyBuilder,
});