We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
InheritedWidget
1 parent 463ee3d commit c41a08fCopy full SHA for c41a08f
packages/flutter/lib/src/widgets/framework.dart
@@ -1612,7 +1612,7 @@ abstract class ParentDataWidget<T extends ParentData> extends ProxyWidget {
1612
/// }
1613
///
1614
/// @override
1615
-/// bool updateShouldNotify(FrogColor old) => color != old.color;
+/// bool updateShouldNotify(FrogColor oldWidget) => color != oldWidget.color;
1616
1617
/// ```
1618
/// {@end-tool}
0 commit comments