Unverified Commit c41a08fd authored by Robin Schönau's avatar Robin Schönau Committed by GitHub

Update `InheritedWidget` example parameter naming (#112137)

parent 463ee3d5
......@@ -1612,7 +1612,7 @@ abstract class ParentDataWidget<T extends ParentData> extends ProxyWidget {
/// }
///
/// @override
/// bool updateShouldNotify(FrogColor old) => color != old.color;
/// bool updateShouldNotify(FrogColor oldWidget) => color != oldWidget.color;
/// }
/// ```
/// {@end-tool}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment