My problem is solved by downloading the SDK instead of pulling from git.
Looks like git-pulled SDK has this issue some times.
Here is the pointer:
https://github.com/flutter/flutter/issues/122984#issuecomment-1483738042