FLUTTER ECOSYSTEM

Rezgar01m/pie_chart_sz

Flutter 도넛 파이 차트

파이 차트_sz 프로젝트 이미지
Stars
1
Forks
0
최근 푸시(UTC)
2025. 2. 21.
프로젝트 상태
활성
Rezgar01 GitHub avatar
GITHUB User

Rezgar01 ↗

java and c++ developer Gmail: rezgar.sasr@gmail.com

zrKurdistan/bukan
언어C++CMakeDartSwiftCHTMLKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 3 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}
  • flutter_lints개발 의존성^5.0.0

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

spaced Pie Chart / pie_chart_sz Cirrus CI - Base Branch Build Status GitHub stars GitHub last commit Open Source Love

This Flutter package provides a donut Chart Widget

Installation

In the dependencies: section of your pubspec.yaml, add the following line:

Version

dependencies:
  pie_chart_sz: <latest version>

Usage

Import this class
import 'package:pie_chart/pie_chart.dart';
this a simple example code to use this package
PieChart
List<Color>? colors = [
  Colors.purple,
  Colors.blue,
  Colors.orange,
  Colors.red,
  Colors.teal,
];

List<double>? values = [
  50,
  20,
  20,
  5,
  5,
];

PieChartSz(
colors: colors,
values: values,
gapSize: 0.2,
centerText: "center text",
centerTextStyle: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
color: Colors.black,
),
valueSettings: Valuesettings(
showValues: false,
ValueTextStyle: TextStyle(
fontSize: 14,
fontWeight: FontWeight.bold,
color: Colors.black,
),
),
)

Features

show values with 'showValues'
Valuesettings(
showValues: true,
ValueTextStyle: TextStyle(
fontSize: 14,
fontWeight: FontWeight.bold,
color: Colors.black,
),
)
PieChart