FLUTTER ECOSYSTEM

kemalturk/pandapie

pandas용 세련된 파이 차트입니다.

pandapie 프로젝트 이미지
Stars
6
Forks
1
최근 푸시(UTC)
2021. 3. 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,
            ),
          ],
        ),
      ),
    );
  }
}