ParseLiveGridWidget<T extends ParseObject> constructor
const
ParseLiveGridWidget<T extends ParseObject> ({
- Key? key,
- required QueryBuilder<
T> query, - Widget? gridLoadingElement,
- Widget? queryEmptyElement,
- Duration duration = const Duration(milliseconds: 300),
- ScrollPhysics? scrollPhysics,
- ScrollController? scrollController,
- Axis scrollDirection = Axis.vertical,
- EdgeInsetsGeometry? padding,
- bool? primary,
- bool reverse = false,
- ChildBuilder<
T> ? childBuilder, - bool shrinkWrap = false,
- ChildBuilder<
T> ? removedItemBuilder, - bool? listenOnAllSubItems,
- List<
String> ? listeningIncludes, - bool lazyLoading = true,
- List<
String> ? preloadedColumns, - AnimationController? animationController,
- int crossAxisCount = 3,
- double crossAxisSpacing = 5.0,
- double mainAxisSpacing = 5.0,
- 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,
});