v3.1.0arrow_path
轻松使用 Path 对象绘制箭头。路径可以组合,以便将箭头添加到任何曲线,并一次性绘制所有内容。
一个用于轻松使用 Path 对象绘制箭头的 Flutter 包。路径可以组合,以向任意曲线添加箭头,并一次性绘制所有内容。
以下为英文项目原文快照,最新内容请访问 GitHub。
Draw arrows with Path objects easily. Paths can be composited to add arrows to any curve and draw all at once.

The arrow is drawn using the direction of the tangent to the curve at the end of the curve. It features an adjustment parameter to also look at the tangent just before the end of the segment and rotate the tip of the arrow based on the angle difference to improve the look of the arrow when the curvature at the end is high.
Have a look at the example app to get started.
ArrowPath.make() is now deprecated, use ArrowPath.addTip() instead.
If you are not using the isDoubleSided argument of ArrowPath.make() then you can safely replace it by ArrowPath.addTip() without any other change.
If you are using the isDoubleSided argument of ArrowPath.make() then change yor 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);
依赖清单 2 项
{"sdk":"flutter"}^2.0.1先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗