describeWidget method Null safety
- String name,
- {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty}
Returns a description of the Widget associated with the current build context.
The name
is typically something like "The widget being rebuilt was".
Implementation
DiagnosticsNode describeWidget(String name, {DiagnosticsTreeStyle style = DiagnosticsTreeStyle.errorProperty});