0

What version does flutter fetch when I add plugin dependency like below code:

dependencies:
  pluginA: ^0.1.8

If available versions are 0.1.8+1, 0.1.9, 0.2.0 etc.

As I see version ^2.1.3 and '>=2.1.3 < 3.0.0' are equal, but except for the prerelease version. (checked from this link)

So does flutter fetch the updated patch version of pluginA, or fetch the exact version in my case?

Ravi Sevta
  • 2,817
  • 21
  • 37

1 Answers1

0

I found my answer, here flutter will fetch the latest patch version of pluginA, and in my case, it is 0.1.9.

It is similar to: pluginA: '>=0.1.8 < 0.2.0'

Ravi Sevta
  • 2,817
  • 21
  • 37