HeliumPaywallLoadingConfig class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
loadingBudget
→ double
-
Maximum time (in seconds) to show the loading state before displaying fallback.
After this timeout, the fallback view will be shown even if the paywall is still downloading.
Default: 2.0 seconds
final
-
perTriggerLoadingConfig
→ Map<String, TriggerLoadingConfig>?
-
Optional per-trigger loading configuration overrides.
Use this to customize loading behavior for specific triggers.
Keys are trigger names, values are TriggerLoadingConfig instances.
Example: Disable loading for "onboarding" trigger while keeping it for others.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
useLoadingState
→ bool
-
Whether to show a loading state while fetching paywall configuration.
When true, shows a loading view for up to
loadingBudget seconds before falling back.
Default: true
final