Skip to content

Commit

Permalink
Fix doc reference to RendererBinding.renderViews (#146837)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
goderbauer authored Apr 16, 2024
1 parent 500ed0b commit 16bb7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/rendering/binding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 16bb7fa

Please sign in to comment.