diff --git a/packages/provider/lib/src/provider.dart b/packages/provider/lib/src/provider.dart index 18953f5d..2ec44fab 100644 --- a/packages/provider/lib/src/provider.dart +++ b/packages/provider/lib/src/provider.dart @@ -665,9 +665,9 @@ extension WatchContext on BuildContext { /// ```dart /// runApp( /// Builder(builder: (context) { - /// final value = context.watch(); + /// final movie = context.watch(); /// - /// if (value == null) Text('no Movie found'); + /// if (movie == null) Text('no Movie found'); /// return Text(movie.title); /// }), /// );