zego_uikit_prebuilt_call 4.12.8 copy "zego_uikit_prebuilt_call: ^4.12.8" to clipboard
zego_uikit_prebuilt_call: ^4.12.8 copied to clipboard

PrebuiltCall is a full-featured call kit that provides a realtime call invitation, voice/video chat, device detection, etc. Add a voice/video call to your app in minutes.

example/lib/main.dart

// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:zego_uikit_prebuilt_call/zego_uikit_prebuilt_call.dart';

/// Please follow the link below to see more details:
/// https://github.com/ZEGOCLOUD/zego_uikit_prebuilt_call_example_flutter

/// this is a normal call demo.
/// about call invitation or offline call, please see in github demo
Widget normalCallPage() {
  return ZegoUIKitPrebuiltCall(
    appID: -1, // your AppID,
    appSign: 'your AppSign',
    userID: 'local user id',
    userName: 'local user name',
    callID: 'call id',
    config: ZegoUIKitPrebuiltCallConfig.oneOnOneVideoCall(),
  );
}