dyte_client 0.8.14
dyte_client: ^0.8.14 copied to clipboard
Integrate dyte video calls in your apps. This package exposes a widget that helps integrate native dyte meeting UI in a flutter app
dyte_client #
Dyte Flutter SDK Complete documentation at https://docs.dyte.io/flutter/
Installation #
Install the Flutter package from pub
flutter pub add dyte_client
copied to clipboard
Quickstart #
:::info Before Getting Started
Before you start integrating Dyte into your application, make sure you've read the Getting Started with Dyte topic and completed the steps in the Integrate Dyte section.
:::
Get the roomName
for the meeting and the participant's authToken
from our
backend APIs (read more about our server APIs here), and pass them to
Dyte's DyteMeeting
widget.
- Import the package.
import 'package:dyte_client/dyte.dart';
import 'package:dyte_client/dyteMeeting.dart';
copied to clipboard
- Pass relevant information to
DyteMeeting
widget.
SizedBox(
width: <width>,
height: <height>,
child: DyteMeeting(
roomName: "<roomName>",
authToken: "<authToken>",
onInit: (DyteMeetingHandler meeting) async {
// your handler
},
)
)
copied to clipboard