How 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.

Sizin İçin Seçtik  Which online course is best in 2021?

Leave a Reply

Your email address will not be published. Required fields are marked *