initAnimationController method

  1. @protected
void initAnimationController({
  1. Duration duration = MediasfuAnimations.normal,
  2. double? lowerBound,
  3. double? upperBound,
})

Implementation

@protected
void initAnimationController({
  Duration duration = MediasfuAnimations.normal,
  double? lowerBound,
  double? upperBound,
}) {
  _animationController = AnimationController(
    vsync: this,
    duration: duration,
    lowerBound: lowerBound ?? 0.0,
    upperBound: upperBound ?? 1.0,
  );
}