v2.0.0: 模组插件管理、下载引擎(镜像+队列)、SSH终端、UI改版与依赖仓库

This commit is contained in:
ZV Dev committed 2026-10-22 23:28:14 +08:00
1 parent b8f163aa3a
commit 33d137e33c
29 files changed
+3061 -30

No files matched your search

@@ -0,0 +1,15 @@
import 'package:flutter/foundation.dart';
import '../../../providers/server_provider.dart';
/// 跨页签共享的「当前选中服务器」。
/// Dashboard / 模组 / 终端 / 下载上传目标等页签共用此状态。
class SelectedServerHolder extends ChangeNotifier {
ServerConfig? _server;
ServerConfig? get server => _server;
void select(ServerConfig? s) {
_server = s;
notifyListeners();
}
}