render method
Renders the elements of this component.
Accepted return types:
dart:html
UINode
andUIElement
.- DIVElement, DOMNode, AsDOMElement and AsDOMNode.
- Future.
- UIAsyncContent.
- String, parsed as
HTML
. - Map (rendered as JSON).
- List with previous types (recursively).
- Function that returns any previous type. Including Function
Implementation
@override
dynamic render() {
var currentRoute = this.currentRoute;
var currentRouteParameters = _currentRouteParameters;
var rendered = renderRoute(currentRoute, currentRouteParameters);
if (findRoutes != null && findRoutes!) {
updateRoutes();
}
notifyChangeRoute();
return rendered;
}