Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-14 12:13:17 +08:00
parent 025775d231
commit 09be4f45f0
78 changed files with 428 additions and 849 deletions

View File

@@ -9,12 +9,10 @@ class FavFolderItem extends StatelessWidget {
super.key,
required this.item,
required this.onPop,
required this.heroTag,
});
final FavFolderInfo item;
final VoidCallback onPop;
final String heroTag;
@override
Widget build(BuildContext context) {
@@ -26,7 +24,6 @@ class FavFolderItem extends StatelessWidget {
arguments: item,
parameters: {
'mediaId': item.id.toString(),
'heroTag': heroTag,
},
)?.whenComplete(onPop);
},
@@ -48,13 +45,10 @@ class FavFolderItem extends StatelessWidget {
),
],
),
child: Hero(
tag: heroTag,
child: NetworkImgLayer(
src: item.cover,
width: 180,
height: 110,
),
child: NetworkImgLayer(
src: item.cover,
width: 180,
height: 110,
),
),
const SizedBox(height: 8),