AnimatedReorderableGridView<E extends Object> constructor

const AnimatedReorderableGridView<E extends Object>({
  1. Key? key,
  2. required List<E> items,
  3. required ItemBuilder<Widget, E> itemBuilder,
  4. required SliverGridDelegate sliverGridDelegate,
  5. required ReorderCallback onReorder,
  6. List<AnimationEffect>? enterTransition,
  7. List<AnimationEffect>? exitTransition,
  8. Duration? insertDuration,
  9. Duration? removeDuration,
  10. void onReorderStart(
    1. int
    )?,
  11. void onReorderEnd(
    1. int
    )?,
  12. ReorderItemProxyDecorator? proxyDecorator,
  13. EdgeInsetsGeometry? padding,
  14. Axis scrollDirection = Axis.vertical,
  15. bool reverse = false,
  16. ScrollController? controller,
  17. bool? primary,
  18. ScrollPhysics? physics,
  19. ScrollBehavior? scrollBehavior,
  20. String? restorationId,
  21. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  22. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  23. Clip clipBehavior = Clip.hardEdge,
  24. AnimatedWidgetBuilder<Widget, dynamic>? insertItemBuilder,
  25. AnimatedWidgetBuilder<Widget, dynamic>? removeItemBuilder,
})

Implementation

const AnimatedReorderableGridView({
  Key? key,
  required this.items,
  required this.itemBuilder,
  required this.sliverGridDelegate,
  required this.onReorder,
  this.enterTransition,
  this.exitTransition,
  this.insertDuration,
  this.removeDuration,
  this.onReorderStart,
  this.onReorderEnd,
  this.proxyDecorator,
  this.padding,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.scrollBehavior,
  this.restorationId,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.dragStartBehavior = DragStartBehavior.start,
  this.clipBehavior = Clip.hardEdge,
  this.insertItemBuilder,
  this.removeItemBuilder,
}) : super(key: key);