OnBoardingAnimation constructor

const OnBoardingAnimation({
  1. required List<Widget> pages,
  2. PageController? controller,
  3. double indicatorOffset = 10.0,
  4. double indicatorDotWidth = 10.0,
  5. double indicatorDotHeight = 10.0,
  6. double indicatorDotSpacing = 8.0,
  7. double indicatorDotRadius = 11.0,
  8. double indicatorJumpScale = 1.4,
  9. double indicatorVerticalOffset = 0.0,
  10. Color indicatorInActiveDotColor = Colors.grey,
  11. Color indicatorActiveDotColor = Colors.black,
  12. PaintingStyle indicatorPaintStyle = PaintingStyle.fill,
  13. PaintingStyle indicatorActivePaintStyle = PaintingStyle.fill,
  14. double indicatorScale = 1.4,
  15. double indicatorActiveDotScale = 1.3,
  16. int indicatorMaxVisibleDots = 5,
  17. bool indicatorFixedCenter = false,
  18. double indicatorActiveStrokeWidth = 1.0,
  19. double indicatorExpansionFactor = 3.0,
  20. double indicatorStrokeWidth = 1.0,
  21. WormType indicatorWormType = WormType.normal,
  22. SwapType indicatorSwapType = SwapType.normal,
  23. DotDecoration? indicatorInActiveDotDecoration,
  24. DotDecoration? indicatorActiveDotDecoration,
  25. ColorBuilder? indicatorActiveColorOverride,
  26. ColorBuilder? indicatorInActiveColorOverride,
  27. IndicatorType indicatorType = IndicatorType.worm,
  28. IndicatorPosition indicatorPosition = IndicatorPosition.bottomCenter,
  29. Key? key,
})

Implementation

const OnBoardingAnimation({
  required this.pages,
  this.controller,
  this.indicatorOffset = 10.0,
  this.indicatorDotWidth = 10.0,
  this.indicatorDotHeight = 10.0,
  this.indicatorDotSpacing = 8.0,
  this.indicatorDotRadius = 11.0,
  this.indicatorJumpScale = 1.4,
  this.indicatorVerticalOffset = 0.0,
  this.indicatorInActiveDotColor = Colors.grey,
  this.indicatorActiveDotColor = Colors.black,
  this.indicatorPaintStyle = PaintingStyle.fill,
  this.indicatorActivePaintStyle = PaintingStyle.fill,
  this.indicatorScale = 1.4,
  this.indicatorActiveDotScale = 1.3,
  this.indicatorMaxVisibleDots = 5,
  this.indicatorFixedCenter = false,
  this.indicatorActiveStrokeWidth = 1.0,
  this.indicatorExpansionFactor = 3.0,
  this.indicatorStrokeWidth = 1.0,
  this.indicatorWormType = WormType.normal,
  this.indicatorSwapType = SwapType.normal,
  this.indicatorInActiveDotDecoration,
  this.indicatorActiveDotDecoration,
  this.indicatorActiveColorOverride,
  this.indicatorInActiveColorOverride,
  this.indicatorType = IndicatorType.worm,
  this.indicatorPosition = IndicatorPosition.bottomCenter,
  Key? key,
}) : super(key: key);