gat_env_info 0.6.1 gat_env_info: ^0.6.1 copied to clipboard
GetArch infrastructure package, get app environment information
get_env_info #
GetArch infrastructure package, get app environment information
Getting Started #
本基础设施提供 IEnvInfoSource及其实现类
abstract class IEnvInfoSource {
Future<EnvInfo> getEnvInfo();
}
Load Module #
加载模块
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await GetArchApplication.run(conf, printConfig: !kReleaseMode, packages: [
EnvInfoPackage(),
]);
runApp(MyApp());
}