INNER CODE UNIT · Dart

h

RafaelBarbosatec/tutorial_coach_mark · lib/src/clipper/rect_clipper.dart:36

    double h = maxSize * (1 - progress) + target.size.height + offset;

    return radius > 0
        ? rRectHolePath(size, x, y, w, h, radius)
        : rectHolePath(size, x, y, w, h);
  }

  @override
  bool shouldReclip(covariant RectClipper oldClipper) {
    return progress != oldClipper.progress;
  }

  static Path rectHolePath(
    Size canvasSize,
    double x,
    double y,
    double w,
    double h,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…