FLUTTER ECOSYSTEM

cnsumner/flutter-spider-chart

cnsumner/flutter-spider-chart open-source repository details.

flutter-蜘蛛图 项目封面
Stars
11
Forks
11
最近推送(UTC)
2023年10月28日
项目状态
未归档
csumner GitHub avatar
GITHUB User

csumner ↗

Full-stack software engineer. I like to make stuff.

语言DartC++CMakeHTMLCSwiftObjective-C

技术话题

此仓库发布的插件

使用的依赖

依赖清单 3 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}
  • flutter_lints开发依赖^2.0.0

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

Pub Gitlab pipeline status

spider_chart

A simple spider/radar chart library for Flutter.

screenshot

Quick Start

More examples will be added, but this will get you going in the meantime. The chart can be sized with a container or by passing in a Size object to the size named parameter.

Center(
  child: Container(
    width: 300,
    height: 300,
    child: SpiderChart(
      data: [
        7,
        5,
        10,
        7,
        4,
      ],
      maxValue: 10, // the maximum value that you want to represent (essentially sets the data scale of the chart)
      colors: <Color>[
        Colors.red,
        Colors.green,
        Colors.blue,
        Colors.yellow,
        Colors.indigo,
      ],
    ),
  ),
)