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),
);
}