diff --git a/packages/flutter/lib/src/widgets/framework.dart b/packages/flutter/lib/src/widgets/framework.dart index 9a7abbd7573..90b71ecaa86 100644 --- a/packages/flutter/lib/src/widgets/framework.dart +++ b/packages/flutter/lib/src/widgets/framework.dart @@ -1878,7 +1878,7 @@ abstract class InheritedWidget extends ProxyWidget { /// object widgets subclass one of: /// /// * [LeafRenderObjectWidget], if the widget has no children. -/// * [SingleChildRenderObjectElement], if the widget has exactly one child. +/// * [SingleChildRenderObjectWidget], if the widget has exactly one child. /// * [MultiChildRenderObjectWidget], if the widget takes a list of children. /// * [SlottedMultiChildRenderObjectWidget], if the widget organizes its /// children in different named slots.