opt.: popupmenu

This commit is contained in:
lollipopkit
2023-05-09 22:04:45 +08:00
parent b4f3fce64a
commit c1d1af8c01
15 changed files with 145 additions and 211 deletions

View File

@@ -37,8 +37,7 @@ Future<void> initApp() async {
final settings = locator<SettingStore>();
await loadFontFile(settings.fontPath.fetch());
///设置Logger
Logger.root.level = Level.ALL; // defaults to Level.INFO
Logger.root.level = Level.ALL;
Logger.root.onRecord.listen((record) {
// ignore: avoid_print
print('[${record.loggerName}][${record.level.name}]: ${record.message}');