I try to restore Hive database and get null fields in my model Account, but I see fill fields in map with debug mode. <img src="https://i.ibb.co/vPHGZ7r/2.png"...
My flutter App uses Hive for local data Managing and Firebase for Cloud Data Storage. I have a modal which uses Timestamp and FieldValue from Firebase package....
I have app where I am using Bloc and Hive. main.dart <pre><code>void main() async { WidgetsFlutterBinding.ensureInitialized(); final appDocumentDirector...
I run <code>flutter packages pug run build_runner build</code>, the normal command with which you would create a TypeAdapter in Flutter, I get the following error:...
I'm building a flutter app with Hive and I can't solve the error '<code>Box not found. Did you forget to call Hive.openBox()?</code>'. My main method is this: <pre...
Using Hive in Flutter, I have to generate a Model Adapater by annotating my Model: <pre><code>import 'package:connectivity/connectivity.dart'; import 'package:flut...
I am trying to copy the data from a Box (with a TypeAdapter) to a List. I am getting a Stack Overflow error. <strong>Code</strong> <pre><code>List<CardFi...
I'm currently implementing <code>Hive</code> in my FlutterApp. Unfortunately this error pops up all the time: <blockquote> HiveError: There is already a TypeAda...
My flutter app contains hive boxes where it loads objectlist from firebase with a streamprovider for each box. After uninstall the hole app including the data f...
I save a List to an index in a Hive Box. <pre><code>class Person { String name; Person(this.name); } List<Person> friends = []; friends.add(Person('Jer...
I want to initialize the state of a StateNotifierProvider after resumed in the lifecycle. <pre><code>// provider final timerProvider = StateNotifierProvider<Tim...
I have a Flutter app and I am using Hive to store data. I have deleted some adapters which were used previously. This caused an error and I have to delete the o...
My Hive Modal Class. Below that you can find my generated class. <pre><code>@HiveType(typeId: 1) class Employee { Employee({ required this.employeeId, re...
I wrote a StreamProvider that I listen to right after startup to get all the information about a potentially logged in user. If there is no user, so the outcome would...
I am trying to stream the users data that I saved into a box called 'users' with Hive. This is for showing a screen based on the information provided from the user. Fo...