AppConfig Flavor For Flutter

Ivan Terekhin
Jun 5, 2022

--

Basically, you will want to integrate the flavor config (like API URL or something like that to the global context of the app, to retrieve it somewhere or use in places like Web Service or something like that). One can achieve it using a global AppConfig object like that:

and then. :)

--

--

Ivan Terekhin
Ivan Terekhin

Written by Ivan Terekhin

Mobile developer (Android, iOS, Flutter), AI and GameDev enthusiast. https://www.indiehackers.com/jeuler

No responses yet