v0.1.5progress_border
类似于 Border 的 BoxBorder,但根据进度绘制部分边框,支持圆形、矩形、矩形。
32喜欢 6250近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个 BoxBorder,类似于 Border,但根据进度绘制部分边框,支持圆形、矩形和矩形
以下为英文项目原文快照,最新内容请访问 GitHub。
A BoxBorder like Border but draw part of the border according to the progress, supported circle, rect, rectangle.
| ProgressBorder | |
|---|---|
![]() |
flutter pub add progress_border
Container(
width: 100,
height: 100,
decoration: BoxDecoration(
color: Colors.blue.withAlpha(100),
border: ProgressBorder.all(
color: Colors.blue,
width: 8,
progress: animationController.value,
),
),
);
More usage see /example folder.
To use this library in versions lower than Flutter 3.7, please specify the version number as 0.0.x.
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗