Activity which displays a fullscreen Flutter UI. FlutterActivity is the simplest and most direct way to integrate Flutter within an Android app.
Read moreHow do you check your flavor in flutter?
There is not a simple way to know the flavor name, however I would suggest you to use an environment variable, loaded from flutter_dotenv for example . This will allow you (as developer) to easily change the behaviour of your app and switch from different environments seamlessy.
Read more