render method

  1. @override
Element render(
  1. String temp, [
  2. TemplateState? state
])
override

The render function.

This function accepts two parameters: temp which is of type String which represents the desired templating string to be rendered, and state which represents the state of the application, as a TemplateState.

The function returns a html element of type Element.

Implementation

@override
Element render(String temp, [TemplateState? state]) {
  return _render(state);
}