SocialCardTheme class
Visual branding theme for generated social preview cards.
Constructors
- SocialCardTheme({String backgroundColor = '#0f172a', String backgroundGradientEnd = '#1e293b', String accentColor = '#38bdf8', String titleColor = '#f8fafc', String subtitleColor = '#94a3b8', String badgeBackgroundColor = 'rgba(56, 189, 248, 0.15)', String badgeTextColor = '#38bdf8', String fontFamily = 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'})
-
const
Properties
- accentColor → String
-
final
- backgroundColor → String
-
final
- backgroundGradientEnd → String
-
final
- badgeBackgroundColor → String
-
final
- badgeTextColor → String
-
final
- fontFamily → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitleColor → String
-
final
- titleColor → String
-
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