FLUTTER ECOSYSTEM

kemalturk/pandapie

pandas 用の豪華な円グラフ。

pandapie のプロジェクト画像
Stars
6
Forks
1
最終プッシュ(UTC)
2021/03/19
プロジェクト状態
公開中
Kemal Türk GitHub avatar
GITHUB User

Kemal Türk ↗

...

Antalya(Turkey)
言語DartSwiftKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 2 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

Pub

PandaPie

A fancy pie chart for pandas. Pandapie designed for new neumorphic design trend.

Preview PageView
Preview Png Preview Gif
PandaPie
  • size - size of chart
  • selectedKey - selected key
PandaPieData
  • id - the id of this item
  • value - the value of this item

Getting Started

Add the dependency in pubspec.yaml:

dependencies:
  ...
  pandapie: ^0.1.2

Basic Usage

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,
            ),
          ],
        ),
      ),
    );
  }
}