OpscrollWeb constructor
const
OpscrollWeb({
- Key? key,
- required List<
Widget> onePageChildren, - required PageController pageController,
- ScrollingAnimationOptions scrollingAnimationOptions = ScrollingAnimationOptions.Default,
- VoidCallback? onTapGesture,
- Color floatingButtonBackgroundColor = Colors.grey,
- Color floatingButtonSplashColor = Colors.grey,
- bool isFloatingButtonActive = false,
- bool isTouchScrollingActive = false,
- Color dropColor = Colors.blueAccent,
- Curve scrollCurve = Curves.easeIn,
- Duration scrollSpeed = const Duration(milliseconds: 900),
- Axis scrollDirection = Axis.vertical,
Implementation
const OpscrollWeb(
{Key? key,
required this.onePageChildren,
required this.pageController,
this.scrollingAnimationOptions = ScrollingAnimationOptions.Default,
this.onTapGesture,
this.floatingButtonBackgroundColor = Colors.grey,
this.floatingButtonSplashColor = Colors.grey,
this.isFloatingButtonActive = false,
this.isTouchScrollingActive = false,
this.dropColor = Colors.blueAccent,
this.scrollCurve = Curves.easeIn,
this.scrollSpeed = const Duration(milliseconds: 900),
this.scrollDirection = Axis.vertical})
: super(key: key);