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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1612,7 +1612,7 @@ abstract class ParentDataWidget<T extends ParentData> extends ProxyWidget {
/// } /// }
/// ///
/// @override /// @override
/// bool updateShouldNotify(FrogColor old) => color != old.color; /// bool updateShouldNotify(FrogColor oldWidget) => color != oldWidget.color;
/// } /// }
/// ``` /// ```
/// {@end-tool} /// {@end-tool}