rtc_room_engine 2.2.1 rtc_room_engine: ^2.2.1 copied to clipboard
A product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education.
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:rtc_room_engine_example/common/languages/translation_service.dart';
import 'package:rtc_room_engine_example/common/routers/names.dart';
import 'common/routers/pages.dart';
import 'common/store/store.dart';
void main() {
Get.put<UserStore>(UserStore());
Get.put<RoomStore>(RoomStore());
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return GetMaterialApp(
locale: Get.deviceLocale,
fallbackLocale: TranslationService.fallbackLocale,
initialRoute: AppRoutes.login,
debugShowCheckedModeBanner: false,
getPages: AppPages.routes,
translations: TranslationService(),
);
}
}