ScrollWrapper constructor
ScrollWrapper({
- Key? key,
- required ScrollController scrollController,
- double promptScrollOffset = 200,
- required Widget child,
- Curve scrollToTopCurve = Curves.fastOutSlowIn,
- Duration scrollToTopDuration = const Duration(milliseconds: 500),
- Duration promptDuration = const Duration(milliseconds: 500),
- Curve promptAnimationCurve = Curves.fastOutSlowIn,
- Alignment promptAlignment = Alignment.topRight,
- PromptButtonTheme? promptTheme,
- PromptAnimation promptAnimationType = PromptAnimation.size,
- ReplacementBuilder? promptReplacementBuilder,
Implementation
ScrollWrapper({
Key? key,
required this.scrollController,
this.promptScrollOffset = 200,
required this.child,
this.scrollToTopCurve = Curves.fastOutSlowIn,
this.scrollToTopDuration = const Duration(milliseconds: 500),
this.promptDuration = const Duration(milliseconds: 500),
this.promptAnimationCurve = Curves.fastOutSlowIn,
this.promptAlignment = Alignment.topRight,
this.promptTheme,
this.promptAnimationType = PromptAnimation.size,
this.promptReplacementBuilder,
}) : super(key: key);