opt: stat组件传参

This commit is contained in:
guozhigq
2024-09-11 20:25:40 +08:00
parent c60fd6a73e
commit 95a452dea8
12 changed files with 73 additions and 48 deletions

View File

@ -60,13 +60,11 @@ class IntroDetail extends StatelessWidget {
Row(
children: [
StatView(
theme: 'gray',
view: bangumiDetail!.stat!['views'],
size: 'medium',
),
const SizedBox(width: 6),
StatDanMu(
theme: 'gray',
danmu: bangumiDetail!.stat!['danmakus'],
size: 'medium',
),