How can the mobile app on flutter add the ability to install parts of the programme internally?

Hi all, I’m a novice developer and I have a question. How in a flutter app can you dynamically change the app. For example, I have an app base in the form of a simple messenger and a module for it in the form of a news feed. How can I make the user download only the main application and additional functions can be downloaded and installed inside the application itself depending on the user’s wish?

I couldn’t find anything on the net on this subject, I would be happy to get any ideas on this subject.