Closed kaznak closed 2 years ago
It seems you are running flutter 2.5.x, so yes, you can update build_runner to ^2.1.4
. Monarch will work fine.
If you were on flutter 2.4.x or earlier, then you would have to use the older build_runner ^1.10.3
and freezed 0.14.1+2
.
We are about to release an update that will initialize build_runner based on the project's flutter version.
Thanks for letting us know about this issue and we are glad you find Monarch helpful!
The command monarch init
in the latest Monarch release sets up the monarch packages versions based on the project's flutter version: https://monarchapp.io/blog/newsletter-01
It works! thank you!
I had installed monarch 1.0.1 through the
monarch init
command into a clean flutter repository and added the Freezed package by hand then met a package version conflict error as following:The dependencies in pubspec are as following:
And updating build_runnder to the latest version(2.1.4) suppressed the above error.
Can I update build_runnder safely? And please update the version of
monarch init
command.Monarch is very helpful for me. Thank you for developing and reading this!