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 ↗