circlify 1.1.0 copy "circlify: ^1.1.0" to clipboard
circlify: ^1.1.0 copied to clipboard

Circlify is a library for creating interactive pie charts and animated graphs with flexible customization. Supports customization, animation and convenient integration into your Flutter applications.

example/lib/main.dart

import 'package:circlify/Circlify.dart';
import 'package:circlify/circlify_item.dart';
import 'package:example/animation_demo.dart';
import 'package:example/custom_value_demo.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MaterialApp(home: App()));
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            SizedBox(
              width: 200,
              height: 200,
              child: Circlify(
                items: [
                  CirclifyItem(color: Colors.red, value: 100),
                  CirclifyItem(color: Colors.green, value: 100),
                  CirclifyItem(color: Colors.blue, value: 100),
                ],
              ),
            ),
            TextButton(
              onPressed: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (context) => const CustomValuesDemo(),
                  ),
                );
              },
              child: const Text('To custom value demo'),
            ),
            TextButton(
              onPressed: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (context) => const AnimationDemo(),
                  ),
                );
              },
              child: const Text('To animation demo'),
            ),
          ],
        ),
      ),
    );
  }
}
4
likes
0
points
161
downloads

Publisher

verified publisherzeffya.ru

Weekly Downloads

Circlify is a library for creating interactive pie charts and animated graphs with flexible customization. Supports customization, animation and convenient integration into your Flutter applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on circlify