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