When deleting an index using deleteAt, the box is not updated.
Open
question
- Dominant language
- Dart
- Stars
- 4.4k
- Forks
- 449
- PR merge metrics
- No merged PRs in 30d
Description
**Question**
Using ValueListenableBuilder with hive I delete an object but when reloading the main screen it returns an error "NoSuchMethodError: invalid member on null: 'name'" when trying to read the data from the deleted object.
How could I reload the box to update all the data?
**Code sample**
The code to generate the error is in the following link: https://gist.github.com/ed5on/7a435e72948068ac69590f658004b151
**Version**
- Platform: Android, Web
- Flutter version: 2.0.5
- Hive version: 1.4.4+1
- Hive_flutter version: 0.3.1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.