ParseLiveGridWidget<T extends ParseObject> constructor

const ParseLiveGridWidget<T extends ParseObject>({
  1. Key? key,
  2. required QueryBuilder<T> query,
  3. Widget? gridLoadingElement,
  4. Widget? queryEmptyElement,
  5. Duration duration = const Duration(milliseconds: 300),
  6. ScrollPhysics? scrollPhysics,
  7. ScrollController? scrollController,
  8. Axis scrollDirection = Axis.vertical,
  9. EdgeInsetsGeometry? padding,
  10. bool? primary,
  11. bool reverse = false,
  12. ChildBuilder<T>? childBuilder,
  13. bool shrinkWrap = false,
  14. ChildBuilder<T>? removedItemBuilder,
  15. bool? listenOnAllSubItems,
  16. List<String>? listeningIncludes,
  17. bool lazyLoading = true,
  18. List<String>? preloadedColumns,
  19. AnimationController? animationController,
  20. int crossAxisCount = 3,
  21. double crossAxisSpacing = 5.0,
  22. double mainAxisSpacing = 5.0,
  23. double childAspectRatio = 0.80,
})

Implementation

const ParseLiveGridWidget({
  super.key,
  required this.query,
  this.gridLoadingElement,
  this.queryEmptyElement,
  this.duration = const Duration(milliseconds: 300),
  this.scrollPhysics,
  this.scrollController,
  this.scrollDirection = Axis.vertical,
  this.padding,
  this.primary,
  this.reverse = false,
  this.childBuilder,
  this.shrinkWrap = false,
  this.removedItemBuilder,
  this.listenOnAllSubItems,
  this.listeningIncludes,
  this.lazyLoading = true,
  this.preloadedColumns,
  this.animationController,
  this.crossAxisCount = 3,
  this.crossAxisSpacing = 5.0,
  this.mainAxisSpacing = 5.0,
  this.childAspectRatio = 0.80,
});