Skip to content

Commit dfc42c3

Browse files
xqwztsbrianegan
authored andcommitted
Update IgnoreChangeTest documentation (#62)
Fixes the `IgnoreChangeTest` DartDoc comment to state that changes are ignored if the returned value is `true` not `false` as previously claimed.
1 parent b912cb4 commit dfc42c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/flutter_redux.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ typedef OnDisposeCallback<S> = void Function(
7878
/// it can be best to ignore the State change while your animation completes.
7979
///
8080
/// To ignore a change, provide a function that returns true or false. If the
81-
/// returned value is false, the change will be ignored.
81+
/// returned value is true, the change will be ignored.
8282
///
8383
/// If you ignore a change, and the framework needs to rebuild the Widget, the
8484
/// `builder` function will be called with the latest `ViewModel` produced by

0 commit comments

Comments
 (0)