livechat_sdk_flutter 0.0.1 copy "livechat_sdk_flutter: ^0.0.1" to clipboard
livechat_sdk_flutter: ^0.0.1 copied to clipboard

outdated

Welcome to the mobile developer toolkit (Flutter Plugin) of the "AICC" online customer service module. Through Plugin, you can quickly integrate various functions of online customer service in your ap [...]

example/lib/main.dart

import 'dart:io';

import 'package:flutter/material.dart';

import 'package:flutter/services.dart';

import 'config/config.dart';
import 'config/routers.dart';

void main() {
  if (Platform.isAndroid) {
    //设置Android头部的状态栏透明,字体颜色为黑色
    SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
        statusBarColor: Colors.transparent,
        statusBarIconBrightness: Brightness.dark));
  }
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
          primaryColor: Config.primaryColor,
          buttonTheme: const ButtonThemeData(
              buttonColor: Config.primaryColor,
              textTheme: ButtonTextTheme.normal)),
      routes: Routers.getRouters,
      initialRoute: Routers.home,
    );
  }

}
0
likes
0
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

Welcome to the mobile developer toolkit (Flutter Plugin) of the "AICC" online customer service module. Through Plugin, you can quickly integrate various functions of online customer service in your application.

Homepage

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on livechat_sdk_flutter

Packages that implement livechat_sdk_flutter