Skip to content

Commit

Permalink
Explicitly mention rebuild in context.select() doc (rrousselGit#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lootwig authored Dec 29, 2021
1 parent fafa89f commit c53f0fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/inherited_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ bool _debugIsSelecting = false;

/// Adds a `select` method on [BuildContext].
extension SelectContext on BuildContext {
/// Watch a value of type [T] exposed from a provider, and listen only partially
/// to changes.
/// Watch a value of type [T] exposed from a provider, and mark this widget for rebuild
/// on changes of that value.
///
/// If [T] is nullable and no matching providers are found, [watch] will
/// return `null`. Otherwise if [T] is non-nullable, will throw [ProviderNotFoundException].
Expand Down

0 comments on commit c53f0fd

Please sign in to comment.