render method
Renders the underlying widget to the provided buffer within the area.
Implementation
@override
void render(Buffer buffer, Rect area) {
final flex = widget as Flexible;
if (childElement != null &&
childElement!.widget.runtimeType == flex.child.runtimeType) {
childElement!.update(flex.child);
} else {
childElement = flex.child.createElement();
childElement!.mount(this);
}
childElement!.render(buffer, area);
}