FAILURE: Build completed with 2 failures.
Try any one of the following steps:
Goto Files > Click Invalidate Caches/Restart
Invalidate Caches/Restart
Restart your machine
On terminal write flutter clean and then flutter run