pikapika/lib/basic/config/Platform.dart

12 lines
193 B
Dart
Raw Normal View History

2021-10-14 10:12:36 +00:00
import 'dart:io';
import '../Method.dart';
int androidVersion = 0;
Future<void> initPlatform()async{
if (Platform.isAndroid) {
androidVersion = await method.androidGetVersion();
}
}