Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

better info page background

Predidit09621c14d394
diff --git a/lib/pages/info/info_page.dart b/lib/pages/info/info_page.dart
index 9abef389..a46c1d28 100644
--- a/lib/pages/info/info_page.dart
+++ b/lib/pages/info/info_page.dart
@@ -92,8 +92,25 @@ class _InfoPageState extends State<InfoPage>
},
child: Stack(
children: [
+ Positioned.fill(
+ child: IgnorePointer(
+ child: Container(
+ color: isLightTheme ? Colors.white : Colors.black,
+ child: Opacity(
+ opacity: 0.2,
+ child: LayoutBuilder(builder: (context, boxConstraints) {
+ return NetworkImgLayer(
+ src: infoController.bangumiItem.images['large'] ?? '',
+ width: boxConstraints.maxWidth,
+ height: boxConstraints.maxHeight,
+ );
+ }),
+ ),
+ ),
+ ),
+ ),
Scaffold(
- backgroundColor: isLightTheme ? Colors.white : Colors.black,
+ backgroundColor: Colors.transparent,
appBar: const SysAppBar(backgroundColor: Colors.transparent),
body: Column(
children: [
@@ -178,20 +195,6 @@ class _InfoPageState extends State<InfoPage>
],
),
),
- Positioned.fill(
- child: IgnorePointer(
- child: Opacity(
- opacity: 0.1,
- child: LayoutBuilder(builder: (context, boxConstraints) {
- return NetworkImgLayer(
- src: infoController.bangumiItem.images['large'] ?? '',
- width: boxConstraints.maxWidth,
- height: boxConstraints.maxHeight,
- );
- }),
- ),
- ),
- ),
],
),
);