When I run my flutter application it show
Waiting for another flutter command to release the startup lock
this messages and not
Restart your IDE first and then run the following command in project folder from terminal
killall -9 dart
It worked for me. Hope it will help some of the guys facing the same problem.