dyte_client 0.0.13 copy "dyte_client: ^0.0.13" to clipboard
dyte_client: ^0.0.13 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';
import 'package:dyte_client/dyteMeeting.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: "hazel-mile",
                authToken: "",
                onInit: (DyteMeetingHandler meeting) async  {
                    new Future.delayed(const Duration(milliseconds: 10000), () async {
                      var self = await meeting.self;
                      print("test"+self.videoEnabled.toString()+"d"+self.audioEnabled.toString());
                    });
                },
              )
            )
          ],
        ),
    );
  }
}
7
likes
0
pub points
72%
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