How do i solve this?

I got these random errors and im not able to run the app,
if you cant see img here

* Where:

Script 'C:\flutter\flutter_windows_3.13.7-stable\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1297

* What went wrong:

Execution failed for task ':app:compileFlutterBuildDebug'.

> Process 'command 'C:\flutter\flutter_windows_3.13.7-stable\flutter\bin\flutter.bat'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at BUILD FAILED in 7s

Exception: Gradle task assembleDebug failed with exit code 1

That’s not a Gradle related problem. Not more than that you use Gradle to run your build.
It is a compile error in your dart files, so you should probably seek for help in a Dart of Flutter community.