Template class
Constructors
- Template(String code, String name, TemplateWidgetType widgetType, dynamic value, dynamic text, bool editable)
- Template.edit(String code, String name, TemplateWidgetType widgetType, dynamic value, {bool editable = true})
- Template.preview(String code, String name, TemplateWidgetType widgetType, dynamic value, {bool editable = false})
Properties
- code ↔ String
-
getter/setter pair
- editable ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text ↔ dynamic
-
getter/setter pair
- value ↔ dynamic
-
getter/setter pair
- widgetType ↔ TemplateWidgetType
-
getter/setter pair
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