初始化,App启动时调用一次
static Future<void> init() async { _packageInfo ??= await PackageInfo.fromPlatform(); }