v1.1.1pie_chart_sz
아름다운 간격 있는 파이 차트 위젯을 생성하기 위한 플러터 패키지
10좋아요 8830일 다운로드135Pub 점수
AndroidiOSWebmacOSWindowsLinux
Flutter 도넛 파이 차트
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
This Flutter package provides a donut Chart Widget
In the dependencies: section of your pubspec.yaml, add the following line:
dependencies:
pie_chart_sz: <latest version>
import 'package:pie_chart/pie_chart.dart';
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,
),
),
)
Valuesettings(
showValues: true,
ValueTextStyle: TextStyle(
fontSize: 14,
fontWeight: FontWeight.bold,
color: Colors.black,
),
)
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^5.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗