rtc_room_engine 1.4.4 rtc_room_engine: ^1.4.4 copied to clipboard
Flutter plugin of rtc_room_engine SDK
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(),
);
}
}