chat_list 0.0.1+21 chat_list: ^0.0.1+21 copied to clipboard
A flutter package to incorporate a chat view in a simple way
chat_list #
A flutter package to incorporate a chat view in a simple way and jump start your chat application.
Example #
See source
Usage #
//Create a list with messages
List<MessageModel> _messageList = [
MessageModel("Hi, how are you?", OwnerType.SENDER, ownerName: "Higor Lapa"),
MessageModel("Hi, I'm fine and you?!", OwnerType.RECEIVER,
ownerName: "Bill Gates")
];
//Place the widget inside your build function
ChatList(
messageList: _messageList,
),