werner-scholtz / kalender

An elegantly crafted Flutter calendar UI package.
MIT License
107 stars 29 forks source link

Add possibility for repeating/reoccurring events #91

Open gorann77 opened 1 month ago

gorann77 commented 1 month ago

I think possibility to add repeating events would be quite needed. The only way to currently do it (at least I am not aware of any other) is to manually add all reoccurring events in the past and in the future. Of course, we can't add events indefinitely in the future, so at some point we must stop adding repeating events. What if user scrolls past that date? Other possible way to solve this would be to have events when user changes date range in the view, in which case we could add events for next date range.

gorann77 commented 1 month ago

After checking sources, I noticed there is onPageChanged event, which can be used for this. it's not in the documentation, so maybe it could be added there. Still, support for repeating events would be appreciated.

werner-scholtz commented 1 month ago

Hi, fyi I'm currently working on a new version of the package under this branch, and will add recurring events to it.

gorann77 commented 1 month ago

That's great news. I don't want to sound pushy (I know there is never enough time), but is there any time frame when this might be finished? I suppose there will be breaking changes, so I am just trying to plan implementations in my app and trying to avoid rewriting the code.

werner-scholtz commented 1 month ago

I hope to release 0.5.0 before the end of the year (earlier if everything goes well), and yes there will be many breaking changes from the current version to 0.5.0

gorann77 commented 1 month ago

Many thanks. That helps a lot.