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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user