ResponsiveGridView.builder constructor

const ResponsiveGridView.builder({
  1. Key? key,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. ScrollController? controller,
  5. bool? primary,
  6. ScrollPhysics? physics,
  7. bool shrinkWrap = false,
  8. EdgeInsetsGeometry? padding,
  9. AlignmentGeometry alignment = Alignment.centerLeft,
  10. required ResponsiveGridDelegate gridDelegate,
  11. required IndexedWidgetBuilder itemBuilder,
  12. int? itemCount,
  13. int? maxRowCount,
  14. bool addAutomaticKeepAlives = true,
  15. bool addRepaintBoundaries = true,
  16. bool addSemanticIndexes = true,
  17. double? cacheExtent,
  18. int? semanticChildCount,
  19. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  20. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  21. Clip clipBehavior = Clip.hardEdge,
  22. String? restorationId,
})

Implementation

const ResponsiveGridView.builder({
  super.key,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.alignment = Alignment.centerLeft,
  required this.gridDelegate,
  required this.itemBuilder,
  this.itemCount,
  this.maxRowCount,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.cacheExtent,
  this.semanticChildCount,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.clipBehavior = Clip.hardEdge,
  this.restorationId,
});