feat: fav article page

Closes #402

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-29 14:38:13 +08:00
parent 72fa9c51f0
commit 5dc8b8e54f
9 changed files with 373 additions and 9 deletions

View File

@@ -64,9 +64,11 @@ class StatView extends _StatItemBase {
}) : super(iconSize: 13);
@override
IconData get iconData => goto == 'picture'
? Icons.remove_red_eye_outlined
: Icons.play_circle_outlined;
IconData get iconData => switch (goto) {
'picture' => Icons.remove_red_eye_outlined,
'like' => Icons.thumb_up_outlined,
_ => Icons.play_circle_outlined,
};
@override
String get semanticsLabel =>