OpscrollWeb constructor

const OpscrollWeb({
  1. Key? key,
  2. required List<Widget> onePageChildren,
  3. required PageController pageController,
  4. ScrollingAnimationOptions scrollingAnimationOptions = ScrollingAnimationOptions.Default,
  5. VoidCallback? onTapGesture,
  6. Color floatingButtonBackgroundColor = Colors.grey,
  7. Color floatingButtonSplashColor = Colors.grey,
  8. bool isFloatingButtonActive = false,
  9. bool isTouchScrollingActive = false,
  10. Color dropColor = Colors.blueAccent,
  11. Curve scrollCurve = Curves.easeIn,
  12. Duration scrollSpeed = const Duration(milliseconds: 900),
  13. 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);