mmoo_base 2.0.0 copy "mmoo_base: ^2.0.0" to clipboard
mmoo_base: ^2.0.0 copied to clipboard

A Flutter base module.

flutter_base #

flutter packages pub publish --server=https://pub.dartlang.org

//初始化配置 await SpUtil.getInstance(); await AppInfoUtil.instance.getDeviceInfo(); Address.iosId = BigNetConfig.iosId; Address.packageName = BigNetConfig.packageName; Address.host = BigNetConfig.host; Address.appTou = BigNetConfig.appTou; Address.rechargeTou = BigNetConfig.appTou + 'sub'; AppConfig.deBug = BigNetConfig.testUrl != null; if (AppConfig.deBug) { AppConfig.print = (value) { print('AppConfig: $value'); }; } @override void initState() { super.initState(); NavigatorUtils.goGuide = () { BigNavigatorUtils.goGuide(); }; MediaUtil.instance.initMediaUtil(this); RechargeUtil.instance.initInAppPurchase(this); }