render method

  1. @override
String render({
  1. BoxConstraints? constraints,
})
override

Renders this element subtree to a terminal string.

Implementation

@override
String render({BoxConstraints? constraints}) {
  if (_dirty) {
    _owner?.buildScopeFor(_rootOfTree(this), this);
  }
  if (_children.isEmpty) return '';
  return _children.first.render(constraints: constraints);
}