chat_list

A flutter package to incorporate a chat view in a simple way and jump start your chat application.

Pub GitHub stars

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,
),

Libraries

chat_list
message_model
message_widget
owner_type_enum