Since flavors are not supported on macOS you may be interested in this easy, clean and pragmatic approach, which works for all platforms:
https://medium.com/software-development-at-skalio/how-to-separate-test-and-production-environments-in-flutter-e915e3125525
GitHub-flavored Markdown & a sane subset of HTML is supported.
Fill in your email address if you want to get notified when someone replies to your comment. Your email address is safely stored with strong 256-bit AES encryption. You can unsubscribe from notification emails any time by following a link on the bottom of a reply notification email.