menu
yxr_flutter_basic package
documentation
base/util/DeviceUtil.dart
DeviceUtil
getVersion static method
getVersion static method
dark_mode
light_mode
getVersion
static method
Future
<
String
>
getVersion
(
)
获取App版本号
Implementation
static Future<String> getVersion() async { return (await getPackageInfo()).version; }
yxr_flutter_basic package
documentation
base/util/DeviceUtil
DeviceUtil
getVersion static method
DeviceUtil class