initialize static method
Implementation
static void initialize(
Widget app,
) async {
WidgetsFlutterBinding.ensureInitialized();
/// 加载本地日志
await loadLogsFromDb();
/// 异常捕获
AppCatchError.run(app);
}
static void initialize(
Widget app,
) async {
WidgetsFlutterBinding.ensureInitialized();
/// 加载本地日志
await loadLogsFromDb();
/// 异常捕获
AppCatchError.run(app);
}