box with specified maximum active elements
Open
question
- Dominant language
- Dart
- Stars
- 4.4k
- Forks
- 449
- PR merge metrics
- No merged PRs in 30d
Description
**Question**
hi, in my case I have a music app and want to display recently played music in it, the problem I have is that I want a queue structure of size 100 and drop any old value if active records in a box exceed it (100).
now I want to know that is it possible to have compaction for this box or I should check the length of box before any insertion and remove the last element if it exceeds the length ?
**Code sample**
nothing
**Version**
- Platform: iOS, Android
- Flutter version: 2.0.4
- Hive version: 2.0.4
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.