pikapika/lib/basic/config/Platform.dart

13 lines
210 B
Dart

/// 平台信息
import 'dart:io';
import '../Method.dart';
int androidVersion = 0;
Future<void> initPlatform()async{
if (Platform.isAndroid) {
androidVersion = await method.androidGetVersion();
}
}