title: flutter plugins on m1 Mac shows error "Module 'foo' not found"
body: <p>I'm moving my Flutter projects to my new <strong>M1</strong> MacBook Pro.
  I get the following error for all my plugins / dependencies (listed in pubspec.yaml) when trying to build:
  <strong>&quot;Module 'foo' not found&quot;</strong></p>
  <p>On the <a href="https://github.com/flutter/flutter/wiki/Developing-with-Flutter-on-Apple-Silicon" rel="nofollow noreferrer">official Flutter install page (for M1)</a> they say to run this command:</p>
  <pre><code>arch -x86_64 sudo gem install ffi
  </code></pre>
  <p>Did that, but with no luck...
  Also followed <a href="https://github.com/CocoaPods/CocoaPods/issues/9907" rel="nofollow noreferrer">this</a>, no luck either...</p>
  <p>I'm familiar with developing Flutter apps on Mac, but all this is kind of voodoo for me, and I'm not sure I'm doing this right.
  If someone was able to run a Flutter project with plugins on the M1, I'd love to hear how</p>