AnimatedReorderableListView<E extends Object> constructor

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