Dropsource / monarch

Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs.
https://monarchapp.io
MIT License
433 stars 22 forks source link

Run Monarch in Linux #94

Closed mjablecnik closed 1 year ago

mjablecnik commented 1 year ago

Hello. I want to try Monarch in my Linux distro and I downloaded latest version 1.5.0 image

I use fvm and I downloaded latest beta flutter version: image

flutter --version and fvm flutter --version give me the latest flutter: image

image

But when I run monarch init and monarch run so monarch is using different flutter version 3.7.7: image

How can I setup monarch for use the latest beta flutter version?

fertrig commented 1 year ago

Monarch uses the flutter version your project is using. Even though you sourced flutter beta into your path, which is good, your project is probably still using flutter 3.7.7.

To change your project's flutter version:

Then monarch run should work.

You can verify the flutter sdk your project is using by looking at .dart_tool/package_config.json, then search for flutter.