I have successfully installed Flutter and VS Code on a Raspberry Pi Model 4B with 8G of RAM and a touchscreen. I have a series of YouTube videos explaining installing and running embedded system programs on the Raspberry Pi. For development, you must use the model with 8G of RAM. For deployment, you can run on a model with 4G of RAM. I used the dart_periphery package to do various GPIO input and output, PWM, and I2C for temperature, humidity, and barometric pressure. Check out my channel for more information.