FlintWidget class abstract
Base widget that can render to multiple output formats
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildTemplate(
) → FlintWidget - Build the widget template - MUST be implemented by subclasses
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHtml(
) → String - Render to HTML (for emails, web)
-
toJson(
) → Map< String, dynamic> - Render to intermediate JSON (for APIs, mobile apps, etc.)
-
toString(
) → String -
A string representation of this object.
inherited
-
toText(
) → String - Render to plain text (fallback, CLI, etc.)
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited