render method
Renders the widget onto the provided buffer within the specified area.
Implementation
@override
void render(Buffer buffer, Rect area) {
if (_element == null) {
_element = child.createElement();
_element!.mount(null);
} else {
_element!.update(child);
}
_element!.render(buffer, area);
}