isExactVersion static method

bool isExactVersion(
  1. String version
)

Whether version names one Flutter version (3.47.9, 3.48.0-0.1.pre), not a channel or a range.

Implementation

static bool isExactVersion(String version) =>
    Version.tryParse(version.trim()) != null;