Skip to main content

Import SDK

The Flutter RTC Plugin is essentially a wrapper for the RTC SDK.

  1. Run the following command in your project directory:

    $ flutter pub add rongcloud_rtc_wrapper_plugin

    This will add the following code to your pubspec.yaml configuration file:

    dependencies:
    rongcloud_rtc_wrapper_plugin: ^5.4.5
  2. Import the RTC SDK in your code:

    import 'package:rongcloud_rtc_wrapper_plugin/rongcloud_rtc_wrapper_plugin.dart';