aplus_chat 0.0.8 copy "aplus_chat: ^0.0.8" to clipboard
aplus_chat: ^0.0.8 copied to clipboard

Auxano global services chat sdk.

example/lib/main.dart

import 'package:aplus_chat/aplus_chat_sdk.dart';
import 'package:example/home.dart';
import 'package:flutter/material.dart';

void main() async {
  await APlusChatMain.aPlusChatInit(
      secKey:
          "U2FsdGVkX1%2BdKnWn5ngCut4b2pG%2FM2H8%2FdDTxTKWzmz%2FFgcSYyKoeHp83UBOkxYL");

  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();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'APlus Chat',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        debugShowCheckedModeBanner: false,
        home: const Home());
  }
}