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,
      ],
    ),
  ),
)