NikuGridView.children constructor

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

Implementation

factory NikuGridView.children({
  Key? key,
  Axis? scrollDirection,
  bool? reverse,
  ScrollController? controller,
  bool? primary,
  ScrollPhysics? physics,
  bool? shrinkWrap,
  NikuEdgeInsets? padding,
  required SliverGridDelegate gridDelegate,
  bool? addAutomaticKeepAlives,
  bool? addRepaintBoundaries,
  bool? addSemanticIndexes,
  double? cacheExtent,
  List<Widget>? children,
  int? semanticChildCount,
  DragStartBehavior? dragStartBehavior,
  Clip? clipBehavior,
  ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
  String? restorationId,
}) =>
    NikuGridView(
      key: key,
      type: NikuGridViewType.children,
      scrollDirection: scrollDirection,
      reverse: reverse,
      controller: controller,
      primary: primary,
      physics: physics,
      shrinkWrap: shrinkWrap,
      padding: padding,
      gridDelegate: gridDelegate,
      addRepaintBoundaries: addRepaintBoundaries,
      addAutomaticKeepAlives: addAutomaticKeepAlives,
      addSemanticIndexes: addSemanticIndexes,
      cacheExtent: cacheExtent,
      children: children,
      semanticChildCount: semanticChildCount,
      dragStartBehavior: dragStartBehavior,
      clipBehavior: clipBehavior,
      keyboardDismissBehavior: keyboardDismissBehavior,
      restorationId: restorationId,
    );