describeWidget method

  1. @override
DiagnosticsNode describeWidget (String name, { DiagnosticsTreeStyle style: DiagnosticsTreeStyle.errorProperty })
override

Returns a description of the Widget associated with the current build context.

Implementation

@override
DiagnosticsNode describeWidget(String name, {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty}) {
  return DiagnosticsProperty<Element>(name, this, style: style);
}