ReorderableGridView constructor
const
ReorderableGridView({
- Key? key,
- required ReorderCallback onReorder,
- DragWidgetBuilderV2? dragWidgetBuilderV2,
- ScrollSpeedController? scrollSpeedController,
- PlaceholderBuilder? placeholderBuilder,
- OnDragStart? onDragStart,
- OnDragUpdate? onDragUpdate,
- required SliverGridDelegate gridDelegate,
- required SliverChildDelegate childrenDelegate,
- bool restrictDragScope = false,
- bool reverse = false,
- bool? primary,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- EdgeInsetsGeometry? padding,
- double? cacheExtent,
- int? semanticChildCount,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- String? restorationId,
- Clip clipBehavior = Clip.hardEdge,
- ScrollController? controller,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- Duration? dragStartDelay,
- 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);