Skip to content

Commit 16bb7fa

Browse files
authored
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.
1 parent 500ed0b commit 16bb7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter/lib/src/rendering/binding.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ String _debugCollectRenderTrees() {
638638
///
639639
/// {@template flutter.rendering.debugDumpRenderTree}
640640
/// It prints the trees associated with every [RenderView] in
641-
/// [RendererBinding.renderView], separated by two blank lines.
641+
/// [RendererBinding.renderViews], separated by two blank lines.
642642
/// {@endtemplate}
643643
void debugDumpRenderTree() {
644644
debugPrint(_debugCollectRenderTrees());

0 commit comments

Comments
 (0)