Skip to content

Commit

Permalink
Cannot -> Should not
Browse files Browse the repository at this point in the history
fixes #848
  • Loading branch information
rrousselGit committed Nov 26, 2023
1 parent 409c460 commit ad975c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/provider/lib/src/provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ extension ReadContext on BuildContext {
/// Obtain a value from the nearest ancestor provider of type [T].
///
/// This method is the opposite of [watch].\
/// It will _not_ make widget rebuild when the value changes and cannot be
/// It will _not_ make widget rebuild when the value changes and should not be
/// called inside [StatelessWidget.build]/[State.build].\
/// On the other hand, it can be freely called _outside_ of these methods.
///
Expand Down

0 comments on commit ad975c0

Please sign in to comment.