The extension seems to look at the version specified in pubspec.yaml to decide which version of intl_utils to use. However, this might not be the exact version that would be used when running dart run intl_utils:generate.
For example: pubspec.yaml has intl_utils: ^2.7.0, but the resolved version in pubspec.lock is version: "2.8.3" (because the version constraint allows for this newer version).
Therefore, I believe this extension should look at the exact version in pubspec.lock to decide which version to use. This avoids the extension from generating different code than you would get from the command line.
The extension seems to look at the version specified in
pubspec.yamlto decide which version ofintl_utilsto use. However, this might not be the exact version that would be used when runningdart run intl_utils:generate.For example:
pubspec.yamlhasintl_utils: ^2.7.0, but the resolved version inpubspec.lockisversion: "2.8.3"(because the version constraint allows for this newer version).Therefore, I believe this extension should look at the exact version in
pubspec.lockto decide which version to use. This avoids the extension from generating different code than you would get from the command line.