growthbook_sdk_flutter
library
Enums
-
DecryptionError
-
-
GBAttributeType
-
Both experiments and features can define targeting conditions using a syntax modeled after MongoDB queries.
These conditions can have arbitrary nesting levels and evaluating them requires recursion.
There are a handful of functions to define, and be aware that some of them may reference function definitions further below.
Enum For different Attribute Types supported by GrowthBook.
-
GBFeatureSource
-
Enum For defining feature value source.
-
StateHelper
-
It will be helpful incase we want to show status of our sdk
builder.
Typedefs
-
CacheRefreshHandler
= void Function(bool)
-
-
FeatureFetchSuccessCallBack
= void Function(FeaturedDataModel featuredDataModel)
-
-
GBBucketRange
= List<double>
-
Double Tuple for GrowthBook Ranges
-
GBCacheRefreshHandler
= void Function(bool)
-
Handler for Refresh Cache Request
It updates back whether cache was refreshed or not
-
GBCondition
= Map<String, dynamic>
-
Type Alias for Condition Element in GrowthBook Rules
-
GBFeatures
= Map<String, GBFeature>
-
Type Alias for Feature in GrowthBook
Represents json response in this case.
-
GBFeatureUsageCallback
= void Function(String, GBFeatureResult)
-
-
GBNameSpace
= Tuple3<String, double, double>
-
Triple Tuple for GrowthBook Namespaces
It has ID, StartRange & EndRange
-
GBStickyBucketingService
= LocalStorageStickyBucketService
-
-
OnError
= void Function(Object error, StackTrace stackTrace)
-
-
OnInitializationFailure
= void Function(GBError? error)
-
-
OnSuccess
= void Function(Map<String, dynamic> onSuccess)
-
-
SavedGroupsValues
= Map<String, dynamic>
-
-
TrackingCallBack
= void Function(GBExperiment, GBExperimentResult)
-
A function that takes experiment and result as arguments.
-
VoidCallback
= void Function()
-