The official way to install the flutter and its dependencies is a mishmash of brew install
, binary downloads alongside relying on system installed versions of ruby.
I became particularly frustrated when trying to setup flutter on macOS Mojave and macOS Catalina. I came across too many issues, and it took a lot of stackoverflow and google searches to overcome.
By using a package manager to install dependencies and runtimes, we can share the exact same setup in different environments and automate the install and escape the above issues.
This is particularly valuable if you use different machines, or have team members in different locations. Moreover, we know where everything belongs and how to upgrade or uninstall if necessary.