AnimatedScrollView constructor

AnimatedScrollView({
  1. Key? key,
  2. ScrollController? controller,
  3. EdgeInsetsGeometry? padding,
  4. ScrollPhysics? physics,
  5. Clip clipBehavior = Clip.hardEdge,
  6. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  7. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  8. bool? primary,
  9. String? restorationId,
  10. bool reverse = false,
  11. required List<Widget> children,
  12. ListAnimationType listAnimationType = ListAnimationType.Slide,
  13. SlideConfiguration? slideConfiguration,
  14. FadeInConfiguration? fadeInConfiguration,
  15. ScaleConfiguration? scaleConfiguration,
  16. FlipConfiguration? flipConfiguration,
  17. VoidCallback? onNextPage,
  18. VoidCallback? onPageScrollChange,
  19. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
  20. MainAxisSize mainAxisSize = MainAxisSize.max,
  21. RefreshCallback? onSwipeRefresh,
  22. bool disposeScrollController = true,
})

Implementation

AnimatedScrollView({
  super.key,
  this.controller,
  this.padding,
  this.physics,
  this.clipBehavior = Clip.hardEdge,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.primary,
  this.restorationId,
  this.reverse = false,
  required this.children,
  this.listAnimationType = ListAnimationType.Slide,
  this.slideConfiguration,
  this.fadeInConfiguration,
  this.scaleConfiguration,
  this.flipConfiguration,
  this.onNextPage,
  this.onPageScrollChange,
  this.crossAxisAlignment = CrossAxisAlignment.start,
  this.mainAxisSize = MainAxisSize.max,
  this.onSwipeRefresh,
  this.disposeScrollController = true,
});