factor:布局颜色重构

This commit is contained in:
2025-11-21 14:11:35 +08:00
parent 8f0f641d37
commit e38e26e685
18 changed files with 572 additions and 179 deletions

View File

@@ -76,10 +76,8 @@ class StatsPageState extends State<StatsPage> {
buildChartDivider(context),
const SizedBox(height: 3),
Expanded(
child: barChart(
child: rankChart(
context: context,
xAxisName: '名称',
yAxisName: '访问量',
unit: '人次',
data: provider.visitRankStats,
),
@@ -114,10 +112,8 @@ class StatsPageState extends State<StatsPage> {
buildChartDivider(context),
const SizedBox(height: 3),
Expanded(
child: barChart(
child: rankChart(
context: context,
xAxisName: '名称',
yAxisName: '时长',
unit: '分钟',
data: provider.readRankStats,
),