mirror of
https://github.com/flutter/flutter
synced 2024-08-24 18:36:03 +00:00
Fix doc reference to RendererBinding.renderViews (#146837)
`RendererBinding.renderView` is deprecated. The doc should link to `RendererBinding.renderViews`, which also matches the context since the sentence is talking about multiple `RenderView`s and not just the legacy singleton.
This commit is contained in:
parent
500ed0b6f6
commit
16bb7faec9
|
@ -638,7 +638,7 @@ String _debugCollectRenderTrees() {
|
|||
///
|
||||
/// {@template flutter.rendering.debugDumpRenderTree}
|
||||
/// It prints the trees associated with every [RenderView] in
|
||||
/// [RendererBinding.renderView], separated by two blank lines.
|
||||
/// [RendererBinding.renderViews], separated by two blank lines.
|
||||
/// {@endtemplate}
|
||||
void debugDumpRenderTree() {
|
||||
debugPrint(_debugCollectRenderTrees());
|
||||
|
|
Loading…
Reference in a new issue