Redmi Note 8 Vs Redmi 8 Pro

For visual studio problem:I already set flutter path and flutter command work right in terminal.For me removing flutter plugin and reinstall it fixd the issue in visual studio code.File->Setting->plugin