FanSliceDelegate constructor

FanSliceDelegate({
  1. required Animation<double> scaleAnimation,
  2. required Animation<double> rotationAnimation,
  3. required Animation<double> opacityAnimation,
  4. required Animation<double> distanceAnimation,
  5. required Animation<double> referenceAnimation,
  6. required double angle,
  7. required Offset center,
  8. required double radius,
})

Removed for now since it is not used for now Animation config, see FanAnimationConfig final FanAnimationConfig animationConfig; FanSliceDelegate is used by Flow to determine FanSliceWidget

Implementation

/// {@macro fan_slice_delegate}
FanSliceDelegate({
  /// TODO: add it back when animation config is required
  /// required this.animationConfig,
  required this.scaleAnimation,
  required this.rotationAnimation,
  required this.opacityAnimation,
  required this.distanceAnimation,
  required this.referenceAnimation,
  required this.angle,
  required this.center,
  required this.radius,
}) : super(repaint: referenceAnimation);