Flutter doesn’t really have a direct equivalent to activities and fragments ; rather, in Flutter you navigate between screens, using a Navigator and Route s, all within the same Activity . A Route is an abstraction for a “screen” or “page” of an app, and a Navigator is a widget that manages routes.
Read moreWhat is a Flutter activity?
Activity which displays a fullscreen Flutter UI . FlutterActivity is the simplest and most direct way to integrate Flutter within an Android app. FlutterActivity responsibilities. FlutterActivity maintains the following responsibilities: Displays an Android launch screen.
Read moreWhat is Flutter fragment activity?
This guide describes how to add a Flutter Fragment to an existing Android app. In Android, a Fragment represents a modular piece of a larger UI . A Fragment might be used to present a sliding drawer, tabbed content, a page in a ViewPager , or it might simply represent a normal screen in a single- Activity app.
Read more