Closed KartikShrivastava closed 2 years ago
https://github.com/duytq94/flutter-chat-demo/blob/f4589012771b39658a72162a471e5c651ca0dfcd/lib/pages/chat_page.dart#L665
Hi, I might be wrong but while testing I found that using List.addAll call is appending snapshots infinitely if the enclosed stateful widget is built too many times while scrolling through chat messages.
List.addAll
Hi, thanks for your feedback. You're right, I just fix it, please check again at f58e1b4
https://github.com/duytq94/flutter-chat-demo/blob/f4589012771b39658a72162a471e5c651ca0dfcd/lib/pages/chat_page.dart#L665
Hi, I might be wrong but while testing I found that using
List.addAll
call is appending snapshots infinitely if the enclosed stateful widget is built too many times while scrolling through chat messages.