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 _renderDecoratedContent(content, decoration, position);
}