Question
I've seen this: await Hive.initFlutter(); in the documentation, but I can't access that method in my flutter code.
Version

@Ahmadre you need to import "package:hive_flutter" to import the extension method.
I don't see it exactly :(

Ok, I am getting tons of this:
Because hive_flutter >=0.3.0-dev depends on path >=1.6.0 <1.7.0 and every version of flutter_localizations from sdk depends on path 1.7.0, hive_flutter >=0.3.0-dev is incompatible with flutter_localizations from sdk.
So, because app depends on both flutter_localizations any from sdk and hive_flutter ^0.3.0+2, version solving failed.
pub get failed (1; So, because app depends on both flutter_localizations any from sdk and hive_flutter ^0.3.0+2, version solving failed.)
exit code 1
So I have to fix a lot of dependecies here before it's working
Is there any plan when the dependecy fixes will come? Or any dependecy_override recommendations?
ok here's how it's working:
dependency_overrides:
dartx: ">=0.2.0 <1.0.0"
path: ">=1.6.0 <2.0.0"
Is there any plan when the dependecy fixes will come?
I need to fix the CI first. Hopefully tomorrow...
no stress @leisim :)
It worked after manually adding:
import 'package:hive/hive.dart';
import "package:hive_flutter/hive_flutter.dart";
Most helpful comment
It worked after manually adding:
import 'package:hive/hive.dart';
import "package:hive_flutter/hive_flutter.dart";