v0.1.2
pandapie
用於 pandas 的精美餅圖。Pandapie 是為新興的擬物化設計趨勢所設計。
16喜歡 15近 30 天下載35Pub 分數
平台暫無資料
一個用於 pandas 的精美餅圖。
以下為英文專案原文快照,最新內容請造訪 GitHub。
A fancy pie chart for pandas. Pandapie designed for new neumorphic design trend.
| Preview | PageView |
|---|---|
![]() |
![]() |
size - size of chartselectedKey - selected keyid - the id of this itemvalue - the value of this itemAdd the dependency in pubspec.yaml:
dependencies:
...
pandapie: ^0.1.2
class Home extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xFF202327),
body: Center(
child: PandaPie(
selectedKey: '3',
data: [
PandaPieData(
key: '1',
value: 50,
),
PandaPieData(
key: '2',
value: 50,
),
PandaPieData(
key: '3',
value: 30,
),
],
),
),
);
}
}
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗