Currently the supported analyzer versions are >= 2.0.0 < 4.0.0, which prevents the library from being used with other libraries that depend on ^4.0.0, e.g. here my output from a project using a custom generator:
Running "flutter pub get" in my_app...
Because every version of my_generator from path depends on analyzer ^4.0.0 and copy_with_extension_gen >=3.0.0 depends on analyzer >=2.0.0 <4.0.0, my_generator from path is incompatible with copy_with_extension_gen >=3.0.0.
So, because my_app depends on both copy_with_extension_gen ^4.0.0 and my_generator from path, version solving failed.
pub get failed (1; So, because my_app depends on both copy_with_extension_gen ^4.0.0 and validator_generator from path, version solving failed.)
exit code 1
Not a big deal in my case as I own the code for the other generator, but it could be a deal breaker for others.
Currently the supported analyzer versions are
>= 2.0.0 < 4.0.0
, which prevents the library from being used with other libraries that depend on^4.0.0
, e.g. here my output from a project using a custom generator:Not a big deal in my case as I own the code for the other generator, but it could be a deal breaker for others.