spider_chart 0.1.4 copy "spider_chart: ^0.1.4" to clipboard
spider_chart: ^0.1.4 copied to clipboard

outdated

Spider Chart is a simple spider/radar charting library for Flutter

example/lib/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Spider Chart Example',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Spider Chart Example'),
      ),
      body: Center(
        child: Container(
          width: 300,
          height: 300,
          child: SpiderChart(
              data: [
                7,
                5,
                10,
                7,
                4,
              ],
              maxValue: 10,
              colors: <Color>[
                Colors.red,
                Colors.green,
                Colors.blue,
                Colors.yellow,
                Colors.indigo,
              ],
              labels: <String>[
                "label 1",
                "label 2",
                "label 3",
                "label 4",
                "label 5",
              ]),
        ),
      ),
    );
  }
}
31
likes
0
pub points
76%
popularity

Publisher

unverified uploader

Spider Chart is a simple spider/radar charting library for Flutter

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on spider_chart