FlintEmailTemplate class abstract
Base class for all email templates with common structure
- Inheritance
-
- Object
- FlintWidget
- FlintTemplate
- FlintEmailTemplate
- Implementers
Constructors
- FlintEmailTemplate({required String recipientName, required String recipientEmail, FlintTheme theme = const FlintTheme()})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- recipientEmail → String
-
final
- recipientName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme → FlintTheme
-
final
Methods
-
buildContent(
) → FlintWidget - Build the main content - MUST be implemented by subclasses
-
buildTemplate(
) → FlintWidget -
Final template assembly
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