Flutter experiments 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 Experiments run on top of our feature flags. You can define which version of your code runs based on the return value of the feature flag: Once you've implemented the feature flag in your code, you'll enable it for a target audience by creating a new experiment in the PostHog dashboard.Install the package
Requiredpubspec.yaml:Android setup
RequiredAndroidManifest.xml:android/app/build.gradle:iOS/macOS setup
RequiredInfo.plist:Podfile:Web setup
index.html:Implement your experiment
RequiredRun your experiment
RequiredNext steps
RecommendedResource Description Creating an experiment How to create an experiment in PostHog Adding experiment code How to implement experiments for all platforms Statistical significance Understanding when results are meaningful Experiment insights How to analyze your experiment data More tutorials Other real-world examples and use cases