ResponsiveGridView constructor

ResponsiveGridView({
  1. Key? key,
  2. BreakpointsData<Axis>? scrollDirection,
  3. BreakpointsData<bool>? reverse,
  4. ScrollController? controller,
  5. bool? primary,
  6. BreakpointsData<ScrollPhysics>? physics,
  7. BreakpointsData<bool>? shrinkWrap,
  8. BreakpointsData<EdgeInsets>? padding,
  9. required SliverGridDelegate gridDelegate,
  10. bool addAutomaticKeepAlives = true,
  11. bool addRepaintBoundaries = true,
  12. bool addSemanticIndexes = true,
  13. double? cacheExtent,
  14. List<Widget> children = const [],
  15. int? semanticChildCount,
  16. BreakpointsData<DragStartBehavior>? dragStartBehavior,
  17. BreakpointsData<Clip>? clipBehavior,
  18. BreakpointsData<ScrollViewKeyboardDismissBehavior>? keyboardDismissBehavior,
  19. String? restorationId,
})

Same as GridView

Implementation

ResponsiveGridView({
  super.key,
  this.scrollDirection,
  this.reverse,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap,
  this.padding,
  required this.gridDelegate,
  bool addAutomaticKeepAlives = true,
  bool addRepaintBoundaries = true,
  bool addSemanticIndexes = true,
  this.cacheExtent,
  List<Widget> children = const [],
  this.semanticChildCount,
  this.dragStartBehavior,
  this.clipBehavior,
  this.keyboardDismissBehavior,
  this.restorationId,
}) : childrenDelegate = SliverChildListDelegate(
        children,
        addAutomaticKeepAlives: addAutomaticKeepAlives,
        addRepaintBoundaries: addRepaintBoundaries,
        addSemanticIndexes: addSemanticIndexes,
      );