dyte_client 0.0.1 dyte_client: ^0.0.1 copied to clipboard
Integrate dyte video calls in your apps.
import 'package:flutter/material.dart';
import 'package:dyte_client/dyte.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Row(
// <Widget> is the type of items in the list.
children: <Widget>[
SizedBox(
width: 384.0,
height: 820.0,
child: DyteMeeting(
roomName: "cluttered-vessel",
authToken: "",
onInit: (meeting) {
},
)
)
],
),
),
);
}
}