Update InheritedWidget example parameter naming (#112137)

This commit is contained in:
Robin Schönau
2022-09-22 18:19:49 +02:00
committed by GitHub
parent 463ee3d58c
commit c41a08fd0f

View File

@@ -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}