chat_list 2.0.0 copy "chat_list: ^2.0.0" to clipboard
chat_list: ^2.0.0 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.

Pub GitHub stars

Example #

See source

Usage #


//Create a list with messages
   final List<MessageWidget> _messageList = [
      MessageWidget(
          content: "Hi, Bill! This is the simplest example ever.",
          ownerType: OwnerType.sender,
          ownerName: "Higor Lapa"),
      MessageWidget(
          content:
              "Let's make it better , Higor. Custom font size and text color",
          textColor: Colors.black38,
          fontSize: 18.0,
          ownerType: OwnerType.receiver,
          ownerName: "Bill Gates"),
  ];

  final ScrollController _scrollController = ScrollController();

//Place the widget inside your build function
ChatList(
  children: _messageList,
  scrollController: _scrollController
),

34
likes
130
pub points
65%
popularity

Publisher

unverified uploader

A flutter package to incorporate a chat view in a simple way

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

bubble, flutter

More

Packages that depend on chat_list