Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The text widget in Flutter only displays the most recent entry because each time you call the widget to display the text, it replaces the previous content with the new content. If you want to display multiple texts, you need to use a List or a ListView widget to display them. Alternatively, you can concatenate the new text with the previous text and display it together in the widget.