kVersionsDir top-level property

Directory kVersionsDir

Where Flutter SDK Versions are stored

Implementation

Directory get kVersionsDir {
  final settings = Settings.readSync();
  if (settings.cachePath != null && settings.cachePath.isNotEmpty) {
    return Directory(path.normalize(settings.cachePath));
  }
  return Directory(path.join(kFvmHome, 'versions'));
}