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}
|
/// {@template flutter.rendering.debugDumpRenderTree}
|
||||||
/// It prints the trees associated with every [RenderView] in
|
/// It prints the trees associated with every [RenderView] in
|
||||||
/// [RendererBinding.renderView], separated by two blank lines.
|
/// [RendererBinding.renderViews], separated by two blank lines.
|
||||||
/// {@endtemplate}
|
/// {@endtemplate}
|
||||||
void debugDumpRenderTree() {
|
void debugDumpRenderTree() {
|
||||||
debugPrint(_debugCollectRenderTrees());
|
debugPrint(_debugCollectRenderTrees());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user