SupportWidgetTheme class
Configuration for the support widget theme.
Use this to customize the support widget's appearance, including colors, spacing, and theme preferences.
Constructors
Properties
- accentColor → String?
-
Accent color as a hex string (e.g., '#FF5733').
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- prefersSystemTheme → bool
-
Whether to prefer the system theme (light/dark mode).
final
- primaryTextColor → String?
-
Primary text color as a hex string (e.g., '#000000').
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spacing
→ Map<
String, String> ? -
Spacing configuration (e.g., {'bottom': '20px', 'side': '15px'}).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Converts the theme to a map for platform communication.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- systemDefault → const SupportWidgetTheme
- Default theme that prefers system theme.