render abstract method
Renders the component as HTML.
Override this method to define the component's HTML structure. This is called on the server to generate initial HTML.
Example
@override
dynamic render() {
return element(tagName, [
template(shadowrootmode: 'open', [
style([...]),
div([...]),
]),
], attributes: {'start': start});
}
Implementation
html.Element render();