When you have a list of items in a scrollable view (e.g., Column, Row, ListView) and want to replace it with another scrollable view, you can use the replace widget option. The widgets you can replace are Column, Row, Wrap, ListView, GridView, and StaggeredView.