From 64745784fcef9e3ebc6e6dea0d5f82d1ac20c797 Mon Sep 17 00:00:00 2001 From: ChoiYS Date: Mon, 22 Apr 2024 16:28:51 +0900 Subject: [PATCH] Fix typos in [watch] method (#874) --- packages/provider/lib/src/provider.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); /// }), /// );