v1.1.1pie_chart_sz
美しいスペース付きパイチャートウィジェットを作成するためのFlutterパッケージ
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 ↗