Integrate the SDK
Prerequisites
Before integrating the ZegoEffects SDK, please ensure your development environment meets the following requirements:
- Flutter 2.0 or above
Integrate the SDK
-
Open the “pubspec.yaml” file, add the “zego_effects_plugin” dependency:
pubspec.yamlzego_effects_plugin: ^2.2.1
-
Run the following command in the root directory to import the SDK.
Terminalflutter pub get
Import resources and models
Please follow the instructions in Import resources and models to import the AI models and resources in the SDK.