flutter_openim_sdk 2.3.4+5 flutter_openim_sdk: ^2.3.4+5 copied to clipboard
An instant messaging plug-in that supports Android and IOS. And the server is also all open source.
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Column(
children: [
TextButton(onPressed: () {}, child: Text('login')),
],
),
),
);
}
}