toStringShallow method
One-line description of this element. Includes runtime type, the widget runtime type, and the key when present.
Implementation
String toStringShallow() {
final widget = _widget;
final keyPart = widget.key != null ? ', key: ${widget.key}' : '';
return '$runtimeType(widget: ${widget.runtimeType}$keyPart)';
}