FlintMarketingTemplate class abstract
Base class for marketing templates
- Inheritance
-
- Object
- FlintWidget
- FlintTemplate
- FlintEmailTemplate
- FlintMarketingTemplate
Constructors
- FlintMarketingTemplate({required String recipientName, required String recipientEmail, FlintTheme theme = const FlintTheme()})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- recipientEmail → String
-
finalinherited
- recipientName → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme → FlintTheme
-
finalinherited
Methods
-
buildContent(
) → FlintWidget -
Build the main content - MUST be implemented by subclasses
inherited
-
buildTemplate(
) → FlintWidget -
Marketing-specific styling with more visual elements
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHtml(
) → String -
Default implementation that delegates to buildTemplate()
inherited
-
toJson(
) → Map< String, dynamic> -
Render to intermediate JSON (for APIs, mobile apps, etc.)
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toText(
) → String -
Render to plain text (fallback, CLI, etc.)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited