pie_chart_sz 1.1.1 copy "pie_chart_sz: ^1.1.1" to clipboard
pie_chart_sz: ^1.1.1 copied to clipboard

A Flutter package for creating beautiful Spaced Pie Charts Widget

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
8
likes
135
points
70
downloads

Publisher

verified publisherzerxc.com

Weekly Downloads

A Flutter package for creating beautiful Spaced Pie Charts Widget

Repository (GitHub)
View/report issues

Topics

#chart

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on pie_chart_sz