DesignSettings class

Constructors

DesignSettings({String position = 'bottom-right', ThemeSettings theme = const ThemeSettings(), String animation = 'slide', int displayDelayRaw = 2, bool showProgressBar = false, bool showCloseButton = false, String? displayMode, String? surveyType, String? language, String? logoUrl, String? embedTargetSelector, String? launcherLabel, String? launcherIconKey})
const
DesignSettings.fromJson(Map<String, Object?> j)
factory

Properties

animation String
final
displayDelayRaw int
RAW backend value — units (s vs ms) resolved ONLY in M2's modal shell.
final
displayMode String?
final
embedTargetSelector String?
final
hashCode int
The hash code for this object.
no setterinherited
isBlocking bool
Only fullscreen blocks the host app (web parity). popover/button/bubble are non-blocking; link/inline are never presented as a mobile overlay.
no setter
isLauncher bool
button/bubble can collapse to a launcher after the initially-open survey is minimized.
no setter
language String?
final
launcherIconKey String?
final
launcherLabel String?
final
logoUrl String?
final
position String
final
resolvedSurveyType String
Resolve the presentation type. Payloads may include displayMode, so derive from it rather than blindly defaulting to popover.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCloseButton bool
final
showProgressBar bool
final
surveyType String?
final
theme ThemeSettings
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited