view method
Renders the widget to a string or View.
Use layout widgets like Row and Column to compose child views.
Implementation
@override
Object view() {
final content = child == null ? '' : _renderWidget(child!);
// In the view path we don't have parent constraints, so just apply limits
// as if unbounded.
final w = maxWidth.isFinite ? maxWidth.toInt() : null;
final h = maxHeight.isFinite ? maxHeight.toInt() : null;
return _constrainContent(content, width: w, height: h);
}