Flavors in Flutter work well for separate environments, but what if we want to have a common code base with white label variants for different clients?
White labeling is a common theme nowadays, at least that’s what we as a mobile agency are experiencing here at Pinch. And why shouldn’t it be? As a company with multiple brands, it’s easy to launch apps for each brand while sharing the same codebase: more efficient for the developers and lower costs for the client! But while the paths to take in native environments like iOS & Android are quite clear, there’s no real solution for Flutter yet. We can diversify flavors in code, but how do we keep everything nice and tidy? How do we keep our main codebase clean instead of cluttering it with flavor-specific code, or separate assets for one flavor from the other and not pull every asset into our app when creating a release build to keep the app-size down? 🤔
#flutter #mobile-apps #programming #developer