Your Flutter module uses a plugin that has no additional Android Gradle dependency because it only uses Android OS APIs , such as the camera plugin.
Read moreHow do you add gradle in Flutter?
open your project and then go to : File->Settings->Build, Execution, Deployment->Build Tools-> Gradle . Add the path of your Gradle in The Android Studio as shown bellow.
Read more