@@ -200,15 +200,15 @@ class _ChatViewState extends State<ChatView>
200
200
Container (
201
201
height: chatBackgroundConfig.height ??
202
202
MediaQuery .of (context).size.height,
203
- width:
204
- chatBackgroundConfig.width ?? MediaQuery .of (context).size.width,
203
+ width: chatBackgroundConfig.width ??
204
+ MediaQuery .of (context).size.width,
205
205
decoration: BoxDecoration (
206
206
color: chatBackgroundConfig.backgroundColor ?? Colors .white,
207
207
image: chatBackgroundConfig.backgroundImage != null
208
208
? DecorationImage (
209
209
fit: BoxFit .fill,
210
- image:
211
- NetworkImage ( chatBackgroundConfig.backgroundImage! ),
210
+ image: NetworkImage (
211
+ chatBackgroundConfig.backgroundImage! ),
212
212
)
213
213
: null ,
214
214
),
@@ -264,9 +264,9 @@ class _ChatViewState extends State<ChatView>
264
264
isLastPage: widget.isLastPage,
265
265
loadingWidget: widget.loadingWidget,
266
266
onChatListTap: widget.onChatListTap,
267
- assignReplyMessage: (message) => _sendMessageKey
268
- .currentState
269
- ? .assignReplyMessage (message),
267
+ assignReplyMessage: (message) =>
268
+ _sendMessageKey .currentState
269
+ ? .assignReplyMessage (message),
270
270
);
271
271
},
272
272
),
@@ -275,13 +275,15 @@ class _ChatViewState extends State<ChatView>
275
275
key: _sendMessageKey,
276
276
sendMessageBuilder: widget.sendMessageBuilder,
277
277
sendMessageConfig: widget.sendMessageConfig,
278
- onSendTap: (message, replyMessage, messageType) {
278
+ onSendTap:
279
+ (message, replyMessage, messageType) {
279
280
if (context.suggestionsConfig
280
281
? .autoDismissOnSelection ??
281
282
true ) {
282
283
chatController.removeReplySuggestions ();
283
284
}
284
- _onSendTap (message, replyMessage, messageType);
285
+ _onSendTap (
286
+ message, replyMessage, messageType);
285
287
},
286
288
onReplyCallback: (reply) =>
287
289
replyMessage.value = reply,
0 commit comments