evaluate

new

File

// new

settingsDir

parentFile

// new

'my_flutter/.android/include_flutter.groovy'

// new

))

// new

Assuming my_flutter is a sibling to MyApp.

The binding and script evaluation allows the Flutter
module to include itself (as :flutter) and any
Flutter plugins used by the module (as :package_info,
:video_player, etc) in the evaluation context of
your settings.gradle.

Introduce an implementation dependency on the Flutter
module from your app:

dependencies

implementation

project

':flutter'

Your app now includes the Flutter module as a dependency.
You can follow the next steps in the Adding a Flutter screen to an Android app.