fayeed/dash_chat

[Question] about messageTextBuilder

Opened this issue · 1 comments

Screenshot_20210820_004347
how to solve this? I'm new to Flutter 2.
The parameter 'messages' can't have a value of 'null' because of its type, but the implicit default value is 'null'.
Try adding either an explicit non-'null' default value or the 'required' modifier.

Facing the same issue. Cannot override this func, since it needs ChatMessage to be constant, which is not possible since it dont even have any constant constructor. Please suggest