AnimatedScrollView constructor
AnimatedScrollView({
- Key? key,
- ScrollController? controller,
- EdgeInsetsGeometry? padding,
- ScrollPhysics? physics,
- Clip clipBehavior = Clip.hardEdge,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- bool? primary,
- String? restorationId,
- bool reverse = false,
- required List<
Widget> children, - ListAnimationType listAnimationType = ListAnimationType.Slide,
- SlideConfiguration? slideConfiguration,
- FadeInConfiguration? fadeInConfiguration,
- ScaleConfiguration? scaleConfiguration,
- FlipConfiguration? flipConfiguration,
- VoidCallback? onNextPage,
- VoidCallback? onPageScrollChange,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
- MainAxisSize mainAxisSize = MainAxisSize.max,
- RefreshCallback? onSwipeRefresh,
- 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,
});