v1.0.1chart_components
两个用于 Flutter 的图表组件。基于 GitHub 上的动画条形图和动画日历网格图。许多可自定义属性。
49喜欢 79近 30 天下载70Pub 分数
平台暂无数据
适用于 Flutter 的动画条形图组件
以下为英文项目原文快照,最新内容请访问 GitHub。
Customizable bar chart for Flutter. The component calculates min and max of data and resizes bars as needed.
To use plugin, just import package import 'package:chart_components/chart_components.dart';
Check de example directory to access the project that implements the image shown above.
........
CalendarGrid(
year: 2020,
month: 1,
getColorOfDay: DataRepository.getDayColor,
animationDuration: Duration(milliseconds: 1500),
),
...........
child: BarChart(
data: data,
labels: labels,
dislplayValue: true,
reverse: true,
getColor: DataRepository.getColor,
getIcon: DataRepository.getIcon,
barWidth: 42,
barSeparation: 12,
animationDuration: Duration(milliseconds: 1800),
animationCurve: Curves.easeInOutSine,
itemRadius: 30,
iconHeight: 24,
footerHeight: 24,
headerValueHeight: 16,
roundValuesOnText: false,
lineGridColor: Colors.lightBlue,
),
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗