From b6eabdbba349f1d7212c09191a0807ad6cbce9ce Mon Sep 17 00:00:00 2001 From: Elias Projahn Date: Sun, 15 Dec 2019 12:29:00 +0100 Subject: [PATCH] Fix deprecation --- lib/backend.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backend.dart b/lib/backend.dart index 7b35195..3b00c0f 100644 --- a/lib/backend.dart +++ b/lib/backend.dart @@ -5,7 +5,7 @@ import 'database.dart'; class Backend extends InheritedWidget { static Backend of(BuildContext context) => - context.inheritFromWidgetOfExactType(Backend); + context.dependOnInheritedWidgetOfExactType(); final Widget child;