dyte_client 0.0.9 copy "dyte_client: ^0.0.9" to clipboard
dyte_client: ^0.0.9 copied to clipboard

discontinuedreplaced by: dyte_core
outdated

Integrate dyte video calls in your apps.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:dyte_client/dyte.dart';

void main() {
  runApp(MaterialApp(home:MyApp()));
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    double width = MediaQuery.of(context).size.width;
    double height = MediaQuery.of(context).size.height;
    return Scaffold(
        body: Row(
          // <Widget> is the type of items in the list.
          children: <Widget>[
            SizedBox(
              width: width,
              height: height,
              child: DyteMeeting(
                roomName: "cluttered-vessel",
                authToken: "",
                onInit: (meeting) {

                },
              )
            )
          ],
        ),
    );
  }
}
7
likes
0
pub points
73%
popularity

Publisher

verified publisherdyte.io

Integrate dyte video calls in your apps.

Homepage

License

unknown (LICENSE)

Dependencies

eventify, flutter

More

Packages that depend on dyte_client