From fbf40c0cd27b2f76f5b14bf37562056aa69f8d0c Mon Sep 17 00:00:00 2001 From: Filip Hracek Date: Mon, 20 May 2019 18:40:46 -0700 Subject: [PATCH] Make use of (context) consistent (#84) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since we’re not using `(_)` anywhere else in this example, doing this here is weird. --- provider_counter/test/widget_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider_counter/test/widget_test.dart b/provider_counter/test/widget_test.dart index 857320407..06d50b699 100644 --- a/provider_counter/test/widget_test.dart +++ b/provider_counter/test/widget_test.dart @@ -8,7 +8,7 @@ void main() { // Build our app, provide it with a model, and trigger a frame. await tester.pumpWidget( ChangeNotifierProvider( - builder: (_) => Counter(), + builder: (context) => Counter(), child: MyApp(), ), );