flutter_teachstack_sdk 0.1.0 copy "flutter_teachstack_sdk: ^0.1.0" to clipboard
flutter_teachstack_sdk: ^0.1.0 copied to clipboard

outdated

Flutter SDK for teachstack. Use FlutterTeachstackSdk.liveClass("URL") from MethodChannel 'flutter_teachstack_sdk' to get our live class within your ios and android application.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:async';
import 'package:flutter_teachstack_sdk/flutter_teachstack_sdk.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    initPlatformState();
  }

  Future<void> initPlatformState() async {
    await FlutterTeachstackSdk.liveClass(
        "https://video.teachmint.com/videoroom/videodemo::parthTest/teacherId/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb29tX2lkIjoidmlkZW9kZW1vOjpwYXJ0aFRlc3QiLCJ1aWQiOiJ0ZWFjaGVySWQiLCJ1bmFtZSI6InRlYWNoZXIiLCJ1dHlwZSI6MSwiZXhwIjoxNjU1NDE2OTU0fQ.NvdIh6ynmG2jIHeyzWNtPvqCKnXNHFUtgQk6722u8Ho",
        "group.teachmint.ios.app.appgroup");
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Teachstack SDK'),
        ),
        body: const Center(
          child: Text('Live Classroom'),
        ),
      ),
    );
  }
}
5
likes
0
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter SDK for teachstack. Use FlutterTeachstackSdk.liveClass("URL") from MethodChannel 'flutter_teachstack_sdk' to get our live class within your ios and android application.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_teachstack_sdk

Packages that implement flutter_teachstack_sdk