flutter_outline_chart 1.0.2 copy "flutter_outline_chart: ^1.0.2" to clipboard
flutter_outline_chart: ^1.0.2 copied to clipboard

A flutter pie chart outline package for creating highly customizable outlined pie chart in flutter app.

example/flutter_outline_chart_example.dart

import 'package:flutter/material.dart';
import 'package:flutter_outline_chart/flutter_outline_chart.dart';

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: PieChartWidget(
        data: [
          PieData(
            percentage: 0.5,
            color: Colors.orange,
          ),
          PieData(
            percentage: 0.5,
            color: Colors.red,
          ),
        ],
        diameter: 32,
        strokeWidth: 4,
        gap: 1,
        child: const Text(
          'Nov',
          style: TextStyle(
            fontSize: 10,
          ),
        ),
      ),
    );
  }
}
3
likes
155
points
19
downloads

Publisher

verified publishersiamahnaf.com

Weekly Downloads

A flutter pie chart outline package for creating highly customizable outlined pie chart in flutter app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_outline_chart