Flutter feature flags installation
Add the PostHog Flutter SDK to your Add these values to your Update the minimum Android SDK version to 21 in Add these values to your Update the minimum platform version to iOS 13.0 in your Add these values in Once installed, PostHog will automatically start capturing events. You can also manually send events to test your integration: Check if a feature flag is enabled: For multivariate flags, check which variant the user has been assigned: Experiments run on top of our feature flags. Once you've implemented the flag in your code, you run an experiment by creating a new experiment in the PostHog dashboard. Now that you're evaluating flags, continue with the resources below to learn what else Feature Flags enables within the PostHog platform.Install the package
Requiredpubspec.yaml:Platform setup
RequiredAndroidManifest.xml:android/app/build.gradle:Info.plist:Podfile:index.html:Send events
RecommendedEvaluate boolean feature flags
RequiredEvaluate multivariate feature flags
OptionalRunning experiments
OptionalNext steps
RecommendedResource Description Creating a feature flag How to create a feature flag in PostHog Adding feature flag code How to check flags in your code for all platforms Framework-specific guides Setup guides for React Native, Next.js, Flutter, and other frameworks How to do a phased rollout Gradually roll out features to minimize risk More tutorials Other real-world examples and use cases