fixed snippet

This commit is contained in:
Deven Joshi
2021-07-30 18:16:49 +05:30
parent bfcf827787
commit 1148fc7d62
@@ -66,7 +66,7 @@ We use the `customActions` parameter of the `MessageWidget` to add extra actions
```dart
MessageListView(
messageBuilder: (context, details, messages, defaultMessage) {
return MessageWidget(
return defaultMessage.copyWith(
customActions: [
MessageAction(
leading: Icon(Icons.add),