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!);
return _constrainContent(
content,
width: _resolveDimension(width),
height: _resolveDimension(height),
);
}