From f3de46714b36c6624c9d40920321d8be4bc52679 Mon Sep 17 00:00:00 2001 From: Robert Piosik Date: Tue, 19 Jan 2021 21:44:43 +0100 Subject: [PATCH] Fix generic type placement of Provider.of call (#661) --- provider_counter/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider_counter/lib/main.dart b/provider_counter/lib/main.dart index ea029ec69..2ce4f4bf0 100644 --- a/provider_counter/lib/main.dart +++ b/provider_counter/lib/main.dart @@ -77,7 +77,7 @@ class MyHomePage extends StatelessWidget { floatingActionButton: FloatingActionButton( onPressed: () { // You can access your providers anywhere you have access - // to the context. One way is to use Provider.of(context). + // to the context. One way is to use Provider.of(context). // // The provider package also defines extension methods on context // itself. You can call context.watch() in a build method