Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-13 11:49:38 +08:00
parent f824477ddb
commit c05fbde3fa
106 changed files with 2780 additions and 3200 deletions

View File

@@ -21,7 +21,7 @@ class FavArticleItem extends StatelessWidget {
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Material(
color: Colors.transparent,
type: MaterialType.transparency,
child: Stack(
clipBehavior: Clip.none,
children: [

View File

@@ -21,7 +21,7 @@ class FavNoteItem extends StatelessWidget {
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Material(
color: Colors.transparent,
type: MaterialType.transparency,
child: InkWell(
onTap: () {
if (ctr.enableMultiSelect.value) {

View File

@@ -26,7 +26,7 @@ class FavPgcItem extends StatelessWidget {
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Material(
color: Colors.transparent,
type: MaterialType.transparency,
child: Stack(
clipBehavior: Clip.none,
children: [

View File

@@ -21,39 +21,42 @@ class FavVideoItem extends StatelessWidget {
@override
Widget build(BuildContext context) {
return InkWell(
onTap: onTap,
onLongPress: onLongPress ??
(onTap == null
? null
: () => imageSaveDialog(
title: item.title,
cover: item.cover,
)),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 5),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
AspectRatio(
aspectRatio: StyleString.aspectRatio,
child: LayoutBuilder(
builder: (context, boxConstraints) {
return Hero(
tag: heroTag,
child: NetworkImgLayer(
src: item.cover,
width: boxConstraints.maxWidth,
height: boxConstraints.maxHeight,
),
);
},
return Material(
type: MaterialType.transparency,
child: InkWell(
onTap: onTap,
onLongPress: onLongPress ??
(onTap == null
? null
: () => imageSaveDialog(
title: item.title,
cover: item.cover,
)),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 5),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
AspectRatio(
aspectRatio: StyleString.aspectRatio,
child: LayoutBuilder(
builder: (context, boxConstraints) {
return Hero(
tag: heroTag,
child: NetworkImgLayer(
src: item.cover,
width: boxConstraints.maxWidth,
height: boxConstraints.maxHeight,
),
);
},
),
),
),
const SizedBox(width: 10),
content(context),
],
const SizedBox(width: 10),
content(context),
],
),
),
),
);