Did you know?
Static release toggles let you release unfinished code without activating it in production.
This is common with large projects that practice trunk-based deployment and continuous delivery.
For more flexibility, you can implement this with --dart-define
. 👇
Static release toggles are easy to use, but some use cases require more flexibility:
- Experiment by showing different variants to separate user cohorts (A/B and multivariate testing)
- Gradually roll out a feature to users, rather than releasing it to everyone at once
Complex use cases require dynamic toggles and some dedicated infrastructure to manage them, and my latest course covers this topic in much more detail.
Learn more here. 👇