v0.2.0superellipse_shape
一个用于在 Flutter 中创建超椭圆形状的包。超椭圆是一种介于矩形和圆形之间的形状。
51喜欢 405近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个用于在 Flutter 中创建超椭圆形状的包
以下为英文项目原文快照,最新内容请访问 GitHub。
A package for creating superellipse shapes in flutter.
class SuperellipseDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Material(
color: Colors.blueAccent[400],
shape: SuperellipseShape(
borderRadius: BorderRadius.circular(28.0),
), // SuperellipseShape
child: Container(
width: 100.0,
height: 100.0,
), // Container
); // Material
}
}
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗