IntelliJ and Flutter plugin version checks (#10454)

* add min version checks for IntelliJ

* validate the installed versions of IntelliJ and the flutter plugin

* review comments
This commit is contained in:
Devon Carew
2017-06-02 15:23:36 -07:00
committed by GitHub
parent 15928fbdf7
commit 38891a2f72
6 changed files with 64 additions and 31 deletions

View File

@@ -45,7 +45,7 @@ class Version implements Comparable<Version> {
/// Creates a new [Version] by parsing [text].
factory Version.parse(String text) {
final Match match = versionPattern.firstMatch(text);
final Match match = versionPattern.firstMatch(text ?? '');
if (match == null) {
return null;
}