opt: item

chore: clean up widgets

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-16 21:45:58 +08:00
parent 5ea8a7d313
commit 4972e64cad
104 changed files with 1059 additions and 5871 deletions

View File

@@ -59,7 +59,7 @@ class _FansPageState extends State<FansPage> {
sliver: SliverGrid(
gridDelegate: SliverGridDelegateWithMaxCrossAxisExtent(
maxCrossAxisExtent: Grid.smallCardWidth * 2,
mainAxisExtent: 56,
mainAxisExtent: 66,
),
delegate: SliverChildBuilderDelegate(
(BuildContext context, int index) {

View File

@@ -11,13 +11,16 @@ Widget fanItem({item}) {
leading: Hero(
tag: heroTag,
child: NetworkImgLayer(
width: 38,
height: 38,
width: 45,
height: 45,
type: 'avatar',
src: item.face,
),
),
title: Text(item.uname),
title: Text(
item.uname,
style: const TextStyle(fontSize: 14),
),
subtitle: Text(
item.sign,
maxLines: 1,