FollowPathEffect constructor

const FollowPathEffect({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
  4. double? begin,
  5. double? end,
  6. required Path path,
  7. bool? rotate,
  8. double? rotationOffset,
  9. bool? transformHitTests,
})

Implementation

const FollowPathEffect({
  super.delay,
  super.duration,
  super.curve,
  double? begin,
  double? end,
  required this.path,
  bool? rotate,
  double? rotationOffset,
  bool? transformHitTests,
})  : transformHitTests = transformHitTests ?? defaultTransformHitTests,
      rotate = rotate ?? defaultRotate,
      rotationOffset = rotationOffset ?? defaultRotationOffset,
      super(
        begin: begin ?? neutralValue,
        end: end ?? defaultValue,
      );