HtmlRender constructor
HtmlRender({
- String? templateName,
- String? content,
- required Map<
String, dynamic> data, - required ViewEngine engine,
Constructs an instance of HtmlRender.
The templateName parameter specifies the name of the template to be used.
The data parameter provides the data to be passed to the template.
The engine parameter specifies the template engine to be used for rendering.
Implementation
HtmlRender({
this.templateName,
this.content,
required this.data,
required this.engine,
});