mod: show followed user verif

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-26 18:27:50 +08:00
parent b8d2ad68dd
commit 3ee19a8f08

View File

@@ -27,14 +27,38 @@ class FollowItem extends StatelessWidget {
Get.toNamed('/member?mid=${item.mid}', Get.toNamed('/member?mid=${item.mid}',
arguments: {'face': item.face, 'heroTag': heroTag}); arguments: {'face': item.face, 'heroTag': heroTag});
}, },
leading: Hero( leading: Stack(
tag: heroTag, clipBehavior: Clip.none,
child: NetworkImgLayer( children: [
width: 45, Hero(
height: 45, tag: heroTag,
type: 'avatar', child: NetworkImgLayer(
src: item.face, width: 45,
), height: 45,
type: 'avatar',
src: item.face,
),
),
if (item.officialVerify?['type'] == 0 ||
item.officialVerify?['type'] == 1)
Positioned(
bottom: 0,
right: 0,
child: Container(
decoration: BoxDecoration(
shape: BoxShape.circle,
color: Theme.of(context).colorScheme.surface,
),
child: Icon(
Icons.offline_bolt,
color: item.officialVerify?['type'] == 0
? Colors.yellow
: Colors.lightBlueAccent,
size: 14,
),
),
),
],
), ),
title: Text( title: Text(
item.uname!, item.uname!,