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

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/teacherId1/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb29tX2lkIjoidmlkZW9kZW1vOjpwYXJ0aFRlc3QiLCJ1aWQiOiJ0ZWFjaGVySWQxIiwidW5hbWUiOiJ0ZWFjaGVyIiwidXR5cGUiOjEsImV4cCI6MTY1NTU5MDk2OX0.jb9u0C4ByY8Vwd35SmWT_u3SVUqRVxakauil8Nakm-I");
  }

  @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
pub points
37%
popularity

Publisher

unverified uploader

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