import 'package:package_info_plus/package_info_plus.dart'; import 'package:shared_preferences/shared_preferences.dart'; typedef VoidFutureCallback = Future Function(); typedef BoolFutureCallback = Future Function(); class Global { static const String siteConfigUrl = "https://www.isekai.cn/app/config.json"; static const String wikiApiUrl = "https://www.isekai.cn/api.php"; static String wikiHomeUrl = "https://www.isekai.cn/"; static String restfulApiUrl = "https://www.isekai.cn/api/rest_v1"; static String pageUrl = "https://www.isekai.cn/{{title}}"; static const String renderThemeFallback = "vector"; static PackageInfo? packageInfo; static String wikiLang = "zh-cn"; static String? webOrigin; static SharedPreferences? sharedPreferences; }