NestedGridView.builder constructor

NestedGridView.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. required SliverGridDelegate gridDelegate,
  10. required NullableIndexedWidgetBuilder itemBuilder,
  11. ChildIndexGetter? findChildIndexCallback,
  12. int? itemCount,
  13. bool addAutomaticKeepAlives = true,
  14. bool addRepaintBoundaries = true,
  15. bool addSemanticIndexes = true,
  16. double? cacheExtent,
  17. int? semanticChildCount,
  18. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  19. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  20. String? restorationId,
  21. Clip clipBehavior = Clip.hardEdge,
  22. HitTestBehavior hitTestBehavior = HitTestBehavior.opaque,
  23. bool wantKeepAlive = true,
})

Implementation

NestedGridView.builder({
  super.key,
  super.scrollDirection,
  super.reverse,
  super.controller,
  super.primary,
  super.physics,
  super.shrinkWrap,
  super.padding,
  required super.gridDelegate,
  required super.itemBuilder,
  super.findChildIndexCallback,
  super.itemCount,
  super.addAutomaticKeepAlives,
  super.addRepaintBoundaries,
  super.addSemanticIndexes,
  super.cacheExtent,
  super.semanticChildCount,
  super.dragStartBehavior,
  super.keyboardDismissBehavior,
  super.restorationId,
  super.clipBehavior,
  super.hitTestBehavior,
  this.wantKeepAlive = true,
}) : super.builder();