I've just solved this for myself by completing next steps:
In case you still have problems, make sure that "Include system environment variables" is enabled in the right most part of the "Environment variables" bar.
If nothing helped above, then you must make sure that you have "Path" environment variable for Flutter SDK (it has to end with .../flutter/bin).