mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47:25 +01:00
Fix deprecation
This commit is contained in:
parent
25e4267cb8
commit
b6eabdbba3
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ import 'database.dart';
|
|||
|
||||
class Backend extends InheritedWidget {
|
||||
static Backend of(BuildContext context) =>
|
||||
context.inheritFromWidgetOfExactType(Backend);
|
||||
context.dependOnInheritedWidgetOfExactType<Backend>();
|
||||
|
||||
final Widget child;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue