My friend and I are working on a flutter app; however, he is on flutter version 3.1 while I'm on 3.7-beta. When I recently switched computers from an Intel processor to the M1 chip (MacBook Pro 2021), I kept getting the error that the module is being imported from multiple locations, although I suspect it is due to the flutter version and not the M1 chip (which I did have additional problems with.) How should I go about fixing this, and is this due to the different flutter versions?
Here is the error I'm receiving
So far, I've tried everything that popped up when I google searched this error, but a lot of them told me to install ffi, which I did.