v0.3.0
custom_rounded_rectangle_border
一个简单的包,用于绘制自定义形状边框,并完全控制您希望如何渲染各个边。
23喜欢 7070近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
lekanbar/custom_rounded_rectangle_border open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
A simple package for drawing custom shape borders with full control on how you want the sides to be rendered.
It simply addresses an open Flutter issue where an error is thrown when you try to set a borderRadius and border at the same time, see open issue below: Support non-uniform Borders with a non-zero borderRadius
Container(
decoration: ShapeDecoration(
shape: CustomRoundedRectangleBorder(
borderRadius: BorderRadius.only(
bottomLeft: 5.0,
bottomRight: 5.0),
leftSide: BorderSide(
color: Colors.black),
bottomLeftCornerSide: BorderSide(
color: Colors.black),
rightSide: BorderSide(
color: Colors.black),
bottomRightCornerSide: BorderSide(
color: Colors.black),
bottomSide: BorderSide(
color: Colors.black),
),
),)
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗