describeWidget method

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

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

The name is typically something like "The widget being rebuilt was".

Implementation

@override
DiagnosticsNode describeWidget(String name,
        {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty}) =>
    $value.describeWidget(name, style: style);