基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
chore: withOpacity is deprecated
Predidit3bf07fbc8dec
diff --git a/lib/bean/card/network_img_layer.dart b/lib/bean/card/network_img_layer.dartindex 9c258e55..d19ff730 100644--- a/lib/bean/card/network_img_layer.dart+++ b/lib/bean/card/network_img_layer.dart@@ -97,7 +97,7 @@ class NetworkImgLayer extends StatelessWidget {height: height,clipBehavior: Clip.antiAlias,decoration: BoxDecoration(- color: Theme.of(context).colorScheme.onInverseSurface.withOpacity(0.4),+ color: Theme.of(context).colorScheme.onInverseSurface.withValues(alpha: 0.4),borderRadius: BorderRadius.circular(type == 'avatar'? 50: type == 'emote'diff --git a/lib/pages/video/video_page.dart b/lib/pages/video/video_page.dartindex 78c0673e..eeb9e8d5 100644--- a/lib/pages/video/video_page.dart+++ b/lib/pages/video/video_page.dart@@ -421,10 +421,7 @@ class _VideoPageState extends State<VideoPage>begin: Alignment.centerLeft,end: Alignment.centerRight,colors: [- /// Don't use Colors.black.withValues(alpha: 0x80) here,- /// You will get completely black background on some android devices.- /// Seems that it's a bug of flutter impeller. (flutter v3.29.2)- Colors.black.withOpacity(0.5),+ Colors.black.withValues(alpha: 0.5),Colors.transparent,],),