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:
Michael Goderbauer 2024-04-16 15:07:25 -07:00 committed by GitHub
parent 500ed0b6f6
commit 16bb7faec9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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());