Parametrize BoxEvent
- Dominant language
- Dart
- Stars
- 4.4k
- Forks
- 449
- PR merge metrics
- No merged PRs in 30d
Description
Dear Hive developers! I tried to listen for box changes.
1) Please update the docs on site and on pub.dev. It's stated, that there is some listenable() method, returning ValueListenable(), but it actually has watch() method.
2) Currently, watch() returns a Stream of dull BoxEvents with dynamic data.
Please add a generic parameter (`BoxEvent`), so I can indicate an AsyncSnapshot type when listening.

(data is dynamic here)
Also, it leads to ugly manual construction of BoxEvent, when initialdata needed:

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.