conversation 0.0.2 conversation: ^0.0.2 copied to clipboard
Conversation Widget For Flutter.
Conversation #
Conversation Widget For Flutter.
Demo #
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;
},
),