From 22ad17815bc6d9fc24584d69ed89705a5eb1e2b3 Mon Sep 17 00:00:00 2001 From: SQ <59799517@qq.com> Date: Sat, 14 Sep 2024 13:35:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DQQ=E9=9F=B3=E4=B9=90=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=92=AD=E6=94=BE=E9=97=AE=E9=A2=98=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=AD=8C=E8=AF=8D=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/color/SqThemeData.dart | 6 +- lib/page/left_widget/LeftWidge.dart | 2 +- lib/page/play_page/PlayPage.dart | 143 ++++++++----- lib/subsonic/models/PlugSearchResult.dart | 4 +- pubspec.lock | 232 +++++++++++++--------- pubspec.yaml | 8 +- 6 files changed, 236 insertions(+), 159 deletions(-) diff --git a/lib/color/SqThemeData.dart b/lib/color/SqThemeData.dart index 93804bf..50453f4 100644 --- a/lib/color/SqThemeData.dart +++ b/lib/color/SqThemeData.dart @@ -13,7 +13,8 @@ final ThemeData appDarkThemeData = ThemeData( backgroundColor: dark_background_Colors ) ), - backgroundColor: Colors.transparent, + // dialogBackgroundColor: Colors.transparent, + // backgroundColor: Colors.transparent, brightness: Brightness.dark, primaryColor: dark_background_Colors, // 主要部分背景颜色(导航和tabBar等) scaffoldBackgroundColor: @@ -34,7 +35,8 @@ final ThemeData appLightThemeData = ThemeData( backgroundColor: light_background_Colors ) ), - backgroundColor: Colors.transparent, + // backgroundColor: Colors.transparent, + // dialogBackgroundColor: Colors.transparent, brightness: Brightness.light, primaryColor: light_background_Colors, // 主要部分背景颜色(导航和tabBar等) scaffoldBackgroundColor: diff --git a/lib/page/left_widget/LeftWidge.dart b/lib/page/left_widget/LeftWidge.dart index 3794f4d..1e9025b 100644 --- a/lib/page/left_widget/LeftWidge.dart +++ b/lib/page/left_widget/LeftWidge.dart @@ -141,7 +141,7 @@ class _LeftWidgeState extends State { text: TextSpan( children: [ TextSpan( - text:'版本号:v1.1.12', + text:'版本号:v1.1.13', style: TextStyle( color: Get.isDarkMode?dark_text_Colors:light_text_Colors, ), diff --git a/lib/page/play_page/PlayPage.dart b/lib/page/play_page/PlayPage.dart index d5835c9..e8d881d 100644 --- a/lib/page/play_page/PlayPage.dart +++ b/lib/page/play_page/PlayPage.dart @@ -1,10 +1,15 @@ import 'package:audioplayers/audioplayers.dart'; import 'package:blur/blur.dart'; import 'package:cached_network_image/cached_network_image.dart'; +import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; import 'package:hotkey_manager/hotkey_manager.dart'; import 'package:line_icons/line_icons.dart'; +import 'package:mmoo_lyric/lyric.dart'; +import 'package:mmoo_lyric/lyric_controller.dart'; +import 'package:mmoo_lyric/lyric_util.dart'; +import 'package:mmoo_lyric/lyric_widget.dart'; import 'package:sq_subsonic_desktop/color/SqThemeData.dart'; import 'package:sq_subsonic_desktop/page/controller/ServiceController.dart'; import 'package:flutter_lyric/lyrics_reader.dart'; @@ -22,8 +27,9 @@ class PlayPage extends StatefulWidget { class _PlayPageState extends State { final serviceController = Get.put(ServiceController()); - var lyricUI = SqLyricUI(); - + // var lyricUI = SqLyricUI(); + var lyricWidget; + var lyriccontroller = LyricController(draggingTimerDuration: Duration(milliseconds: 500)); HotKey _hotKey = HotKey( KeyCode.escape, // modifiers: [KeyModifier.alt, KeyModifier.control], @@ -51,8 +57,27 @@ class _PlayPageState extends State { serviceController.player.onPositionChanged.listen((event) { setState(() { widget.nowDuration = event; + lyriccontroller.progress = widget.nowDuration; }); }); + List formatLyric ; + var lyric = Lyric(lyric: "暂无歌词", startTime: Duration(hours: 200),endTime: Duration(hours: 200)); + + try { + formatLyric= LyricUtil.formatLyric(serviceController.musicLyric.value.isEmpty?'[00:00.00] 暂无歌词!':serviceController.musicLyric.value); + } catch (e) { + // var lyric2 = Lyric(lyric: serviceController.musicLyric.value, startTime: Duration(hours: 200),endTime: Duration(hours: 200)); + // var showlss = serviceController.musicLyric.value.isEmpty?lyric:lyric2; + formatLyric = [lyric]; + } + + lyricWidget = LyricWidget( + size: Size(double.infinity, double.infinity), + lyrics: formatLyric, + controller: lyriccontroller, + ); + + } @@ -185,59 +210,61 @@ class _PlayPageState extends State { children: [ Expanded( flex: 1, - child: - LyricsReader( - padding: const EdgeInsets.all(8.0), - position: widget.nowDuration.inMilliseconds, - lyricUi: lyricUI, - model: LyricsModelBuilder.create() - .bindLyricToMain( - logic - .musicLyric.value) - .getModel(), - playing: logic.player.state == PlayerState.playing, - emptyBuilder: () => - Center( - child: Text( - "暂无歌词", - style: - lyricUI - .getOtherMainTextStyle(), - ), - ), - selectLineBuilder: (progress, - confirm) { - return Row( - children: [ - IconButton( - onPressed: () { - // LyricsLog.logD("点击事件"); - confirm.call(); - setState(() { - logic - .seekDuration( - (Duration( - milliseconds: - progress))); - }); - }, - icon: Icon( - Icons.play_arrow, - color: Colors - .redAccent)), - Expanded( - child: Container( - decoration: BoxDecoration( - color: Colors - .redAccent), - height: 1, - width: double.infinity, - ), - ), - ], - ); - }, - ) + child:lyricWidget==null?Container(child: Text('暂无歌词')):lyricWidget!, + + + // LyricsReader( + // padding: const EdgeInsets.all(8.0), + // position: widget.nowDuration.inMilliseconds, + // lyricUi: lyricUI, + // model: LyricsModelBuilder.create() + // .bindLyricToMain( + // logic + // .musicLyric.value) + // .getModel(), + // playing: logic.player.state == PlayerState.playing, + // emptyBuilder: () => + // Center( + // child: Text( + // "暂无歌词", + // style: + // lyricUI + // .getOtherMainTextStyle(), + // ), + // ), + // selectLineBuilder: (progress, + // confirm) { + // return Row( + // children: [ + // IconButton( + // onPressed: () { + // // LyricsLog.logD("点击事件"); + // confirm.call(); + // setState(() { + // logic + // .seekDuration( + // (Duration( + // milliseconds: + // progress))); + // }); + // }, + // icon: Icon( + // Icons.play_arrow, + // color: Colors + // .redAccent)), + // Expanded( + // child: Container( + // decoration: BoxDecoration( + // color: Colors + // .redAccent), + // height: 1, + // width: double.infinity, + // ), + // ), + // ], + // ); + // }, + // ) ), ], @@ -262,4 +289,10 @@ class _PlayPageState extends State { ))); }); } + + @override + void debugFillProperties(DiagnosticPropertiesBuilder properties) { + super.debugFillProperties(properties); + properties.add(DiagnosticsProperty('lyricWidget', lyricWidget)); + } } diff --git a/lib/subsonic/models/PlugSearchResult.dart b/lib/subsonic/models/PlugSearchResult.dart index 35093a8..40ba40d 100644 --- a/lib/subsonic/models/PlugSearchResult.dart +++ b/lib/subsonic/models/PlugSearchResult.dart @@ -74,8 +74,8 @@ class Records { String? pic; String? albumName; String? albumid; - Null? lyric; - Null? lyricId; + String? lyric; + String? lyricId; String? searchType; String? duration; String? oter; diff --git a/pubspec.lock b/pubspec.lock index f953821..e62e6b3 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: "direct main" description: name: adaptive_dialog - sha256: "30dc6deee139cde31e5d10a1d05e1a2a1bb6d592cf0eea27b978884b1ff03405" + sha256: "165018c7520eb42ea8184b87601f7489c100c87abce15cd06e0a036c60f954e6" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.0" + version: "2.2.0" animations: dependency: transitive description: @@ -29,10 +29,10 @@ packages: dependency: transitive description: name: archive - sha256: "22600aa1e926be775fa5fe7e6894e7fb3df9efda8891c73f70fb3262399a432d" + sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d url: "https://pub.flutter-io.cn" source: hosted - version: "3.4.10" + version: "3.6.1" async: dependency: transitive description: @@ -189,10 +189,10 @@ packages: dependency: transitive description: name: cached_network_image_web - sha256: "42a835caa27c220d1294311ac409a43361088625a4f23c820b006dd9bffb3316" + sha256: "205d6a9f1862de34b93184f22b9d2d94586b2f05c581d546695e3d8f6a805cd7" url: "https://pub.flutter-io.cn" source: hosted - version: "1.1.1" + version: "1.2.0" characters: dependency: transitive description: @@ -217,54 +217,54 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.18.0" - convert: - dependency: transitive - description: - name: convert - sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.1.1" crypto: dependency: "direct main" description: name: crypto - sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab + sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.3" + version: "3.0.5" cupertino_icons: dependency: "direct main" description: name: cupertino_icons - sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d + sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.6" + version: "1.0.8" data_table_2: dependency: "direct main" description: name: data_table_2 - sha256: cec4010dd756bd7d0cc3eb8a30932b8109608132c6c8d643e80ea412d3e51a9c + sha256: f02ec9b24f44420816a87370ff4f4e533e15b274f6267e4c9a88a585ad1a0473 url: "https://pub.flutter-io.cn" source: hosted - version: "2.5.10" + version: "2.5.15" dio: dependency: "direct main" description: name: dio - sha256: "797e1e341c3dd2f69f2dad42564a6feff3bfb87187d05abb93b9609e6f1645c3" + sha256: "5598aa796bbf4699afd5c67c0f5f6e2ed542afc956884b9cd58c306966efc260" url: "https://pub.flutter-io.cn" source: hosted - version: "5.4.0" + version: "5.7.0" + dio_web_adapter: + dependency: transitive + description: + name: dio_web_adapter + sha256: "33259a9276d6cea88774a0000cfae0d861003497755969c92faa223108620dc8" + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.0.0" dynamic_color: dependency: transitive description: name: dynamic_color - sha256: a866f1f8947bfdaf674d7928e769eac7230388a2e7a2542824fad4bb5b87be3b + sha256: eae98052fa6e2826bdac3dd2e921c6ce2903be15c6b7f8b6d8a5d49b5086298d url: "https://pub.flutter-io.cn" source: hosted - version: "1.6.9" + version: "1.7.0" easy_loading_button: dependency: "direct main" description: @@ -293,18 +293,18 @@ packages: dependency: transitive description: name: ffi - sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878" + sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.0" + version: "2.1.3" file: dependency: transitive description: name: file - sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.flutter-io.cn" source: hosted - version: "6.1.4" + version: "7.0.0" filling_slider: dependency: "direct main" description: @@ -419,6 +419,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.0.4+6" + flutter_slidable: + dependency: transitive + description: + name: flutter_slidable + sha256: "673403d2eeef1f9e8483bd6d8d92aae73b1d8bd71f382bc3930f699c731bc27c" + url: "https://pub.flutter-io.cn" + source: hosted + version: "3.1.0" flutter_styled_toast: dependency: "direct main" description: @@ -444,10 +452,10 @@ packages: dependency: "direct main" description: name: flutter_typeahead - sha256: ef2dd5a505d2d95a5b4c571c81ad2d6e7955f583dddec49064fec57acffd7a96 + sha256: d64712c65db240b1057559b952398ebb6e498077baeebf9b0731dade62438a6d url: "https://pub.flutter-io.cn" source: hosted - version: "5.0.2" + version: "5.2.0" flutter_web_plugins: dependency: transitive description: flutter @@ -457,10 +465,10 @@ packages: dependency: "direct main" description: name: get - sha256: "2ba20a47c8f1f233bed775ba2dd0d3ac97b4cf32fc17731b3dfc672b06b0e92a" + sha256: e4e7335ede17452b391ed3b2ede016545706c01a02292a6c97619705e7d2a85e url: "https://pub.flutter-io.cn" source: hosted - version: "4.6.5" + version: "4.6.6" getwidget: dependency: "direct main" description: @@ -473,10 +481,10 @@ packages: dependency: transitive description: name: gradient_borders - sha256: "69eeaff519d145a4c6c213ada1abae386bcc8981a4970d923e478ce7ba19e309" + sha256: b1cd969552c83f458ff755aa68e13a0327d09f06c3f42f471b423b01427f21f8 url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.0" + version: "1.0.1" hive: dependency: "direct main" description: @@ -521,10 +529,10 @@ packages: dependency: "direct main" description: name: interactive_slider - sha256: d350b9239621f668817939fb8fa2a3b7e8274e7da3e64686f19f1c23b3b4f144 + sha256: f90020cd1f1376fc8c0a099f48432d25bb2128cef95f9f72acc71e06c5f7d622 url: "https://pub.flutter-io.cn" source: hosted - version: "0.2.1" + version: "0.2.2" intersperse: dependency: transitive description: @@ -537,10 +545,10 @@ packages: dependency: transitive description: name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf url: "https://pub.flutter-io.cn" source: hosted - version: "0.18.1" + version: "0.19.0" js: dependency: transitive description: @@ -565,6 +573,30 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.3.0" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" + url: "https://pub.flutter-io.cn" + source: hosted + version: "10.0.5" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" + url: "https://pub.flutter-io.cn" + source: hosted + version: "3.0.5" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.flutter-io.cn" + source: hosted + version: "3.0.1" line_icons: dependency: "direct main" description: @@ -593,34 +625,34 @@ packages: dependency: transitive description: name: macos_ui - sha256: cc499122655c61728185561e9006af4b239f9526f98d7b2cbf42124e9044a0ff + sha256: "80f6539aba5a3a1182d5225a6c27969a780bcb1d2d8135b4ffb708570cf0c854" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.2" + version: "2.0.9" macos_window_utils: dependency: transitive description: name: macos_window_utils - sha256: b3dfd47bbc605f0e315af684b50370a8f84932267aaa542098063fa384d593bd + sha256: "230be594d26f6dee92c5a1544f4242d25138a5bfb9f185b27f14de3949ef0be8" url: "https://pub.flutter-io.cn" source: hosted - version: "1.4.0" + version: "1.5.0" matcher: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.flutter-io.cn" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.flutter-io.cn" source: hosted - version: "0.5.0" + version: "0.11.1" material_design_icons_flutter: dependency: "direct main" description: @@ -649,10 +681,18 @@ packages: dependency: transitive description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.flutter-io.cn" source: hosted - version: "1.10.0" + version: "1.15.0" + mmoo_lyric: + dependency: "direct main" + description: + name: mmoo_lyric + sha256: b4c3d05509632d20b957b92b2e266591b7a0045f5c6b22720326d88a188184be + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.0.0" multiple_stream_builder: dependency: "direct main" description: @@ -665,42 +705,42 @@ packages: dependency: transitive description: name: octo_image - sha256: "45b40f99622f11901238e18d48f5f12ea36426d8eced9f4cbf58479c7aa2430d" + sha256: "34faa6639a78c7e3cbe79be6f9f96535867e879748ade7d17c9b1ae7536293bd" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.0" + version: "2.1.0" path: dependency: "direct main" description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.flutter-io.cn" source: hosted - version: "1.8.3" + version: "1.9.0" path_provider: dependency: "direct main" description: name: path_provider - sha256: b27217933eeeba8ff24845c34003b003b2b22151de3c908d0e679e8fe1aa078b + sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.2" + version: "2.1.4" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "477184d672607c0a3bf68fbbf601805f92ef79c82b64b4d6eb318cbca4c48668" + sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" url: "https://pub.flutter-io.cn" source: hosted - version: "2.2.2" + version: "2.2.10" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "5a7999be66e000916500be4f15a3633ebceb8302719b47b9cc49ce924125350f" + sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 url: "https://pub.flutter-io.cn" source: hosted - version: "2.3.2" + version: "2.4.0" path_provider_linux: dependency: transitive description: @@ -721,18 +761,18 @@ packages: dependency: transitive description: name: path_provider_windows - sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170" + sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 url: "https://pub.flutter-io.cn" source: hosted - version: "2.2.1" + version: "2.3.0" platform: dependency: transitive description: name: platform - sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec" + sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" url: "https://pub.flutter-io.cn" source: hosted - version: "3.1.4" + version: "3.1.5" plugin_platform_interface: dependency: transitive description: @@ -745,18 +785,18 @@ packages: dependency: transitive description: name: pointer_interceptor - sha256: bd18321519718678d5fa98ad3a3359cbc7a31f018554eab80b73d08a7f0c165a + sha256: "57210410680379aea8b1b7ed6ae0c3ad349bfd56fe845b8ea934a53344b9d523" url: "https://pub.flutter-io.cn" source: hosted - version: "0.10.1" + version: "0.10.1+2" pointer_interceptor_ios: dependency: transitive description: name: pointer_interceptor_ios - sha256: "2e73c39452830adc4695757130676a39412a3b7f3c34e3f752791b5384770877" + sha256: a6906772b3205b42c44614fcea28f818b1e5fdad73a4ca742a7bd49818d9c917 url: "https://pub.flutter-io.cn" source: hosted - version: "0.10.0+2" + version: "0.10.1" pointer_interceptor_platform_interface: dependency: transitive description: @@ -769,18 +809,10 @@ packages: dependency: transitive description: name: pointer_interceptor_web - sha256: "68e3446df2859592f396482b40b65eb79caf738fd0484324e67966e892b57d63" - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.10.1+1" - pointycastle: - dependency: transitive - description: - name: pointycastle - sha256: "43ac87de6e10afabc85c445745a7b799e04de84cebaa4fd7bf55a5e1e9604d29" + sha256: "7a7087782110f8c1827170660b09f8aa893e0e9a61431dbbe2ac3fc482e8c044" url: "https://pub.flutter-io.cn" source: hosted - version: "3.7.4" + version: "0.10.2+1" rxdart: dependency: transitive description: @@ -822,18 +854,18 @@ packages: dependency: transitive description: name: sqflite - sha256: a9016f495c927cb90557c909ff26a6d92d9bd54fc42ba92e19d4e79d61e798c6 + sha256: a43e5a27235518c03ca238e7b4732cf35eabe863a369ceba6cbefa537a66f16d url: "https://pub.flutter-io.cn" source: hosted - version: "2.3.2" + version: "2.3.3+1" sqflite_common: dependency: transitive description: name: sqflite_common - sha256: "28d8c66baee4968519fb8bd6cdbedad982d6e53359091f0b74544a9f32ec72d5" + sha256: "7b41b6c3507854a159e24ae90a8e3e9cc01eb26a477c118d6dca065b5f55453e" url: "https://pub.flutter-io.cn" source: hosted - version: "2.5.3" + version: "2.5.4+2" stack_trace: dependency: transitive description: @@ -862,18 +894,18 @@ packages: dependency: transitive description: name: synchronized - sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" + sha256: a824e842b8a054f91a728b783c177c1e4731f6b124f9192468457a8913371255 url: "https://pub.flutter-io.cn" source: hosted - version: "3.1.0+1" + version: "3.2.0" tdesign_flutter: dependency: "direct main" description: name: tdesign_flutter - sha256: "0eafd0f40fd3dc60874a95c78b418410719e7c84bfa2620d2c4370373ceafe5c" + sha256: "3e60fab491f04546ca41c7e96033d1ad5d6bea975a7c356b0a47a9a40f4ded45" url: "https://pub.flutter-io.cn" source: hosted - version: "0.1.2" + version: "0.1.6" term_glyph: dependency: transitive description: @@ -886,18 +918,18 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.flutter-io.cn" source: hosted - version: "0.6.1" + version: "0.7.2" tray_manager: dependency: "direct main" description: name: tray_manager - sha256: "4ab709d70a4374af172f8c39e018db33a4271265549c6fc9d269a65e5f4b0225" + sha256: c9a63fd88bd3546287a7eb8ccc978d707eef82c775397af17dda3a4f4c039e64 url: "https://pub.flutter-io.cn" source: hosted - version: "0.2.1" + version: "0.2.3" typed_data: dependency: transitive description: @@ -922,30 +954,38 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.1.4" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" + url: "https://pub.flutter-io.cn" + source: hosted + version: "14.2.5" web: dependency: transitive description: name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 url: "https://pub.flutter-io.cn" source: hosted - version: "0.3.0" + version: "1.0.0" win32: dependency: transitive description: name: win32 - sha256: "464f5674532865248444b4c3daca12bd9bf2d7c47f759ce2617986e7229494a8" + sha256: "68d1e89a91ed61ad9c370f9f8b6effed9ae5e0ede22a270bdfa6daf79fc2290a" url: "https://pub.flutter-io.cn" source: hosted - version: "5.2.0" + version: "5.5.4" window_manager: dependency: "direct main" description: name: window_manager - sha256: dcc865277f26a7dad263a47d0e405d77e21f12cb71f30333a52710a408690bd7 + sha256: "8699323b30da4cdbe2aa2e7c9de567a6abd8a97d9a5c850a3c86dcd0b34bbfbf" url: "https://pub.flutter-io.cn" source: hosted - version: "0.3.7" + version: "0.3.9" windows_single_instance: dependency: "direct main" description: @@ -963,5 +1003,5 @@ packages: source: hosted version: "1.0.4" sdks: - dart: ">=3.2.0 <4.0.0" - flutter: ">=3.16.0" + dart: ">=3.5.0 <4.0.0" + flutter: ">=3.22.0" diff --git a/pubspec.yaml b/pubspec.yaml index 7b559a6..f08868a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -33,10 +33,10 @@ dependencies: sdk: flutter - bitsdojo_window: ^0.1.5 - get: 4.6.5 + bitsdojo_window: ^0.1.6 + get: ^4.6.6 getwidget: ^4.0.0 - tdesign_flutter: ^0.1.1 + tdesign_flutter: ^0.1.6 easy_loading_button: ^0.3.2 line_icons: ^2.0.3 flutter_typeahead: ^5.0.2 @@ -63,6 +63,8 @@ dependencies: data_table_2: ^2.5.9 material_design_icons_flutter: ^7.0.7296 flutter_lyric: ^2.0.4+6 + mmoo_lyric: ^1.0.0 + audioplayers: ^5.2.1 audioplayers_windows: ^3.1.0 tray_manager: ^0.2.1