version property
String
get
version
Implementation
static String get version {
ProcessResult processResult = Process.runSync("flutter", ["--version"]);
if (processResult.exitCode != 0) {
throw processResult.stderr.toString().trim();
}
return processResult.stdout.toString().trim();
}