mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
mod: show followed user verif
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -27,7 +27,10 @@ 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(
|
||||||
|
clipBehavior: Clip.none,
|
||||||
|
children: [
|
||||||
|
Hero(
|
||||||
tag: heroTag,
|
tag: heroTag,
|
||||||
child: NetworkImgLayer(
|
child: NetworkImgLayer(
|
||||||
width: 45,
|
width: 45,
|
||||||
@@ -36,6 +39,27 @@ class FollowItem extends StatelessWidget {
|
|||||||
src: item.face,
|
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!,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user