import 'package:isekai_wiki/models/site_config.dart'; import 'package:package_info_plus/package_info_plus.dart'; typedef VoidFutureCallback = Future Function(); typedef BoolFutureCallback = Future Function(); class Global { static const String siteTitle = "异世界百科"; static const String siteDescription = "一起创造新世界吧!"; static const String privacyPolicyUrl = "https://www.isekai.cn/%E5%BC%82%E4%B8%96%E7%95%8C%E7%99%BE%E7%A7%91:%E9%9A%90%E7%A7%81%E6%94%BF%E7%AD%96"; static const String siteConfigUrl = "https://www.isekai.cn/mugenapp/config.json"; static SiteConfig siteConfig = SiteConfig(); static const String renderThemeFallback = "vector"; static PackageInfo? packageInfo; static String wikiLang = "zh-cn"; static String? webOrigin; // 由于某些手机系统有联网权限弹窗,需要等用户点击引导页后再加载信息 static bool isAppActive = false; }