zhonglvshiqi_chat_message 1.0.0 zhonglvshiqi_chat_message: ^1.0.0 copied to clipboard
A new Flutter chat message package
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add zhonglvshiqi_chat_message
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
zhonglvshiqi_chat_message: ^1.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:zhonglvshiqi_chat_message/chat_message.dart';
import 'package:zhonglvshiqi_chat_message/core/chat_controller.dart';
import 'package:zhonglvshiqi_chat_message/model/message_model.dart';
import 'package:zhonglvshiqi_chat_message/util/wechat_data_format.dart';
import 'package:zhonglvshiqi_chat_message/widget/chat_list_widget.dart';
import 'package:zhonglvshiqi_chat_message/widget/default_message_widget.dart';