How to setup EnableX Plugin in Flutter?

To setup EnableX Plugin in Flutter, follow the steps below:

  • Add flutter plugin in pubspec.yaml.
enx_flutter_plugin: ^latest version 

  • Go to the Android folder in project-level Gradle. 
  • Add the following code within the “all project” section: 
flatDir { 
dirs 'src/main/libs' 
dirs project(':enx_flutter_plugin').file('libs') 
}