I think that versions of plugins are incompatible and you should find in the Flutter documentation what version of Kotlin and Gradle are available for your updated 3.35.6 https://docs.flutter.dev/release/breaking-changes/kotlin-version