Update InheritedWidget
example parameter naming (#112137)
This commit is contained in:
parent
463ee3d58c
commit
c41a08fd0f
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user