Skip to content

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

remove searchBar elevation

Predidit016b69cbb276
diff --git a/lib/bean/appbar/sys_app_bar.dart b/lib/bean/appbar/sys_app_bar.dart
index 392d3f5a..7552851b 100644
--- a/lib/bean/appbar/sys_app_bar.dart
+++ b/lib/bean/appbar/sys_app_bar.dart
@@ -36,6 +36,7 @@ class SysAppBar extends StatelessWidget implements PreferredSizeWidget {
onPanStart: (_) => windowManager.startDragging(),
child: AppBar(
toolbarHeight: preferredSize.height,
+ scrolledUnderElevation: 0.0,
title: title,
actions: acs,
leading: leading,
diff --git a/lib/pages/about/about_page.dart b/lib/pages/about/about_page.dart
index 8ad34ced..493ef758 100644
--- a/lib/pages/about/about_page.dart
+++ b/lib/pages/about/about_page.dart
@@ -50,7 +50,8 @@ class _AboutPageState extends State<AboutPage> {
onBackPressed(context);
},
child: Scaffold(
- appBar: const SysAppBar(title: const Text('关于')),
+ appBar: const SysAppBar(title: Text('关于')),
+ backgroundColor: Colors.transparent,
body: Column(
children: [
ListTile(
diff --git a/lib/pages/favorite/favorite_page.dart b/lib/pages/favorite/favorite_page.dart
index c64d1395..fd1721e8 100644
--- a/lib/pages/favorite/favorite_page.dart
+++ b/lib/pages/favorite/favorite_page.dart
@@ -20,19 +20,20 @@ class _FavoritePageState extends State<FavoritePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
- appBar: const SysAppBar(title: Text('追番')),
- body: favoriteController.favorites.isEmpty ?
- const Center(
- child: Text('啊咧(⊙.⊙) 没有追番的说'),
- )
- : CustomScrollView(
- slivers: [
- SliverPadding(
- padding: const EdgeInsets.all(StyleString.cardSpace),
- sliver: contentGrid(favoriteController.favorites),
- ),
- ],
- ),
+ appBar: const SysAppBar(
+ title: Text('追番'), backgroundColor: Colors.transparent),
+ body: favoriteController.favorites.isEmpty
+ ? const Center(
+ child: Text('啊咧(⊙.⊙) 没有追番的说'),
+ )
+ : CustomScrollView(
+ slivers: [
+ SliverPadding(
+ padding: const EdgeInsets.all(StyleString.cardSpace),
+ sliver: contentGrid(favoriteController.favorites),
+ ),
+ ],
+ ),
);
}
diff --git a/lib/pages/plugin_editor/plugin_editor_page.dart b/lib/pages/plugin_editor/plugin_editor_page.dart
index 2cffa55e..7cb812cb 100644
--- a/lib/pages/plugin_editor/plugin_editor_page.dart
+++ b/lib/pages/plugin_editor/plugin_editor_page.dart
@@ -57,16 +57,16 @@ class _PluginEditorPageState extends State<PluginEditorPage> {
final Plugin plugin = Modular.args.data as Plugin;
return Scaffold(
- appBar: SysAppBar(
+ appBar: const SysAppBar(
title: Text('规则编辑器'),
),
body: SingleChildScrollView(
- padding: EdgeInsets.all(16.0),
+ padding: const EdgeInsets.all(16.0),
child: Column(
children: [
SwitchListTile(
- title: Text('内置播放器'),
- subtitle: Text('调试时保持禁用'),
+ title: const Text('内置播放器'),
+ subtitle: const Text('调试时保持禁用'),
value: useNativePlayer,
onChanged: (bool value) {
setState(() {
diff --git a/lib/pages/popular/popular_page.dart b/lib/pages/popular/popular_page.dart
index 69705617..dd710147 100644
--- a/lib/pages/popular/popular_page.dart
+++ b/lib/pages/popular/popular_page.dart
@@ -112,6 +112,7 @@ class _PopularPageState extends State<PopularPage>
),
],
) : null,
+ backgroundColor: Colors.transparent,
title: Stack(
children: [
AnimatedSearchBar(
diff --git a/pubspec.yaml b/pubspec.yaml
index 5c6f1f19..9783754d 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -67,7 +67,7 @@ dependencies:
universal_platform: ^1.0.0+1
webview_cookie_manager: ^2.0.6
- url_launcher: ^6.3.0
+ url_launcher: ^6.1.14
device_info_plus: ^9.0.2
window_manager: ^0.3.9
xpath_selector: ^3.0.2