pie_chart_3d 0.0.7 copy "pie_chart_3d: ^0.0.7" to clipboard
pie_chart_3d: ^0.0.7 copied to clipboard

A lightweight and customizable 3D Pie Chart package for Flutter, built with performance and visual clarity in mind. Designed to deliver intuitive data visualization through dynamic 3D rendering, this [...]

This package draws 3d Pie Chart using Custom Painter

Features #

  • Supports 3d view of Pie Chart
  • Adjustable dept of the Pie Chart

Getting started #

add package into your pubspec.yml file

Usage #

class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ThreeDPieChart(
          data: _getChartData(),
          options: PieChartOptions(
            height: 400,
            width: 400,
            depthDarkness: 0.9,
            ellipseRatio: 0.4,
            shadowHeight: 50,
          ),
        ),
      ),
    );
  }

  List<ChartData> _getChartData() {
    return [
      ChartData(category: 'Music', value: 80, color: Color(0xFF6366F1)),
      ChartData(category: 'Sport', value: 50, color: Color(0xFFEF4444)),
      ChartData(category: 'School', value: 50, color: Color(0xFFFACC15)),
      ChartData(category: 'ART', value: 15, color: Color(0xFFC115FA)),
      ChartData(category: 'FOOD', value: 20, color: Color(0xFF56B533)),
    ];
  }
}

Additional information #

If you found any error, open ticket on Github.

Please feel free to start Contribution. It still needs lot of features.

3
likes
120
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight and customizable 3D Pie Chart package for Flutter, built with performance and visual clarity in mind. Designed to deliver intuitive data visualization through dynamic 3D rendering, this package allows developers to easily integrate interactive, animated pie charts with depth and realism. Ideal for dashboards, reports, and any data-driven UI. Built with clean architecture and extensibility, suitable for both production apps and experimentation.

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on pie_chart_3d