cr_meeting_sdk 1.0.2 copy "cr_meeting_sdk: ^1.0.2" to clipboard
cr_meeting_sdk: ^1.0.2 copied to clipboard

cr_meeting_sdk plugin.

example/lib/main.dart

import 'dart:io';

import 'package:cr_meeting_demo/src/utils/store.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
import 'src/app.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([
    DeviceOrientation.portraitUp,
    DeviceOrientation.portraitDown,
  ]);
  // 状态栏透明(Android)
  Brightness brightness =
      Platform.isAndroid ? Brightness.dark : Brightness.light;
  SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
    statusBarColor: Colors.transparent,
    statusBarBrightness: brightness,
    statusBarIconBrightness: brightness,
  ));

  EasyLoading.instance
    ..maskColor = Colors.black.withOpacity(0.5)
    ..dismissOnTap = false;
  await AppStorage.init();
  runApp(const App());
}
0
likes
140
points
123
downloads

Publisher

unverified uploader

Weekly Downloads

cr_meeting_sdk plugin.

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on cr_meeting_sdk