conversation 0.0.2 copy "conversation: ^0.0.2" to clipboard
conversation: ^0.0.2 copied to clipboard

outdated

Conversation Widget For Flutter.

Conversation #

Conversation Widget For Flutter.

Demo #

enter image description here

Getting Started #

Obtain participants and their messages from oldest to newest and pass it to ConversationWidget

final GlobalKey<ConversationWidgetState> _key = GlobalKey<ConversationWidgetState>();
/// ...
ConversationWidget(  
  key: _key,  
  messages: _messages,  
  participants: _participants,
  sendMessageCallback: (body) async {
    await Future.delayed(Duration(seconds: 3));
    return true;
  },
),