mirrored_repositories/Flutter-Foundation/lib
import 'package:package_info_plus/package_info_plus.dart';

class VersionUtil {
  static Future<String> getVersion() async {
    PackageInfo packageInfo = await PackageInfo.fromPlatform();
    return packageInfo.version;
  }
}