KineticCarouselAnimator constructor
constructs the animator widget. if you don't have values to use for any values with the 'scaleUp' prefix. you can check out the static constants in this class that are provided. such as kScaleUpFactor, kScaleUpAnimationDuration, and kScaleUpPeriod which matches to their respective values. kPeriod is also another one, but it doesnt have the scale up prefix
Implementation
const KineticCarouselAnimator(
{super.key,
required this.period,
required this.children,
required this.radius,
this.scaleUpAnimationDelay,
this.thetaModifier = 0,
required this.allowScalingUpAnimation,
this.scaleUpAnimationDuration,
this.scaleUpFactor,
this.scaleUpCurve,
this.scaleUpPeriod})
: assert(
allowScalingUpAnimation
? scaleUpFactor != null &&
scaleUpPeriod != null &&
scaleUpAnimationDuration != null &&
scaleUpCurve != null &&
scaleUpAnimationDelay != null
: true,
"If using ScalingUpAnimation, values with 'scaleUp' prefixed must be initialized !"),
assert(children.length > 0,
"Child Widgets list cannot be empty.");