render method
Renders the elements of this component.
Accepted return types:
webUINodeandUIElement.- 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<Future>, allowing
asyncfunctions.
Implementation
@override
dynamic render() {
_img.remove();
return [_img];
}