NestedGridView.count constructor

NestedGridView.count({
  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 int crossAxisCount,
  10. double mainAxisSpacing = 0.0,
  11. double crossAxisSpacing = 0.0,
  12. double childAspectRatio = 1.0,
  13. bool addAutomaticKeepAlives = true,
  14. bool addRepaintBoundaries = true,
  15. bool addSemanticIndexes = true,
  16. double? cacheExtent,
  17. List<Widget> children = const <Widget>[],
  18. int? semanticChildCount,
  19. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  20. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  21. String? restorationId,
  22. Clip clipBehavior = Clip.hardEdge,
  23. HitTestBehavior hitTestBehavior = HitTestBehavior.opaque,
  24. bool wantKeepAlive = true,
})

Implementation

NestedGridView.count({
  super.key,
  super.scrollDirection,
  super.reverse,
  super.controller,
  super.primary,
  super.physics,
  super.shrinkWrap,
  super.padding,
  required super.crossAxisCount,
  super.mainAxisSpacing,
  super.crossAxisSpacing,
  super.childAspectRatio,
  super.addAutomaticKeepAlives,
  super.addRepaintBoundaries,
  super.addSemanticIndexes,
  super.cacheExtent,
  super.children,
  super.semanticChildCount,
  super.dragStartBehavior,
  super.keyboardDismissBehavior,
  super.restorationId,
  super.clipBehavior,
  super.hitTestBehavior,
  this.wantKeepAlive = true,
}) : super.count();