![]() ![]() While it indeed solved the above issues, it created a newer one. To achieve this, I tried to set the reverse argument to true. The older messages stay visible, and the newer ones get pushed put. ![]() You know, the way it works in Messenger, etc. above) messages to get pushed out of the screen. Here comes the first issue: when the software keyboard appears, or the size of the input field changes, I would like the bottom of the messages area to stay visible, and the older (ie. I want to preserve the scrolling position at any time, unless the user explicitly scrolls away. The layout, and my code in general, look something like this. ![]() I decided to use the ListView.builder() constructor, as I'm working with potentially a great amount of data (messages). I'm building a chat application and I've reached the part where I'm creating the actual chat interface. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |