Is your feature request related to a problem? Please describe.
Yes. In chatview 2.4.0, the last chat message sometimes gets hidden behind the chat text field. The fallback height for chatTextFieldHeight is set to 10, which causes the list bottom spacing to be too small in some cases. Because of this, the last message is not fully visible.
Describe the solution you'd like
It would be helpful if the fallback value for chatTextFieldHeight (currently ?? 10) could be configurable through a property in the ChatView widget. This would allow developers to adjust the bottom spacing without modifying the package source.
Describe alternatives you've considered
Currently, the only workaround is modifying the package file inside .pub-cache:
chatview-2.4.0/lib/src/widgets/chat_groupedlist_widget.dart
Changing:
?? 10
to
?? 130
This fixes the issue, but it is not ideal because it gets overridden whenever dependencies are reinstalled or updated.
Additional context
If a property like chatTextFieldHeightFallback or similar could be exposed in the widget configuration, it would allow developers to control this behavior without modifying the package source.