OnBoardingAnimation constructor
const
OnBoardingAnimation({
- required List<
Widget> pages, - PageController? controller,
- double indicatorOffset = 10.0,
- double indicatorDotWidth = 10.0,
- double indicatorDotHeight = 10.0,
- double indicatorDotSpacing = 8.0,
- double indicatorDotRadius = 11.0,
- double indicatorJumpScale = 1.4,
- double indicatorVerticalOffset = 0.0,
- Color indicatorInActiveDotColor = Colors.grey,
- Color indicatorActiveDotColor = Colors.black,
- PaintingStyle indicatorPaintStyle = PaintingStyle.fill,
- PaintingStyle indicatorActivePaintStyle = PaintingStyle.fill,
- double indicatorScale = 1.4,
- double indicatorActiveDotScale = 1.3,
- int indicatorMaxVisibleDots = 5,
- bool indicatorFixedCenter = false,
- double indicatorActiveStrokeWidth = 1.0,
- double indicatorExpansionFactor = 3.0,
- double indicatorStrokeWidth = 1.0,
- WormType indicatorWormType = WormType.normal,
- SwapType indicatorSwapType = SwapType.normal,
- DotDecoration? indicatorInActiveDotDecoration,
- DotDecoration? indicatorActiveDotDecoration,
- ColorBuilder? indicatorActiveColorOverride,
- ColorBuilder? indicatorInActiveColorOverride,
- IndicatorType indicatorType = IndicatorType.worm,
- IndicatorPosition indicatorPosition = IndicatorPosition.bottomCenter,
- 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);