Skip to content

Conversation

@fabionuno
Copy link
Contributor

I hope this PR finds you well and safe.

Migration to 3.1.0

ArrowPath.make() is now deprecated, we need to use ArrowPath.addTip() instead.
If we are not using the isDoubleSided argument of ArrowPath.make() then we can safely replace it by ArrowPath.addTip() without any other change.

But we are using the isDoubleSided argument of ArrowPath.make() then we need to change the code like this:

Before:

  Path path = Path();
  path.relativeLineTo(100, 100);
  path = ArrowPath.make(path, isDoubleSided: true);

After:

  Path path = Path();
  path.relativeLineTo(100, 100);
  path = ArrowPath.addTip(path);
  path = ArrowPath.addTip(path, isBackward: true);

Thank you for reviewing this contribution when you have the opportunity.

ArrowPath.make() is now deprecated, use ArrowPath.addTip() instead.
@lempiy
Copy link
Owner

lempiy commented Mar 28, 2025

Hi, ty. LGTM.

@lempiy lempiy merged commit 8b5174c into lempiy:master Mar 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants