ReorderableGridView constructor

const ReorderableGridView({
  1. Key? key,
  2. required ReorderCallback onReorder,
  3. DragWidgetBuilderV2? dragWidgetBuilderV2,
  4. ScrollSpeedController? scrollSpeedController,
  5. PlaceholderBuilder? placeholderBuilder,
  6. OnDragStart? onDragStart,
  7. OnDragUpdate? onDragUpdate,
  8. required SliverGridDelegate gridDelegate,
  9. required SliverChildDelegate childrenDelegate,
  10. bool restrictDragScope = false,
  11. bool reverse = false,
  12. bool? primary,
  13. ScrollPhysics? physics,
  14. bool shrinkWrap = false,
  15. EdgeInsetsGeometry? padding,
  16. double? cacheExtent,
  17. int? semanticChildCount,
  18. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  19. String? restorationId,
  20. Clip clipBehavior = Clip.hardEdge,
  21. ScrollController? controller,
  22. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  23. Duration? dragStartDelay,
  24. bool? dragEnabled,
})

Implementation

const ReorderableGridView({
  Key? key,
  required this.onReorder,
  this.dragWidgetBuilderV2,
  this.scrollSpeedController,
  this.placeholderBuilder,
  this.onDragStart,
  this.onDragUpdate,
  required this.gridDelegate,
  required this.childrenDelegate,
  this.restrictDragScope = false,
  this.reverse = false,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.cacheExtent,
  this.semanticChildCount,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.restorationId,
  this.clipBehavior = Clip.hardEdge,
  this.controller,
  this.dragStartBehavior = DragStartBehavior.start,
  this.dragStartDelay,
  this.dragEnabled,
}) : super(key: key);