aleksanderwozniak / table_calendar

Highly customizable, feature-packed calendar widget for Flutter
Apache License 2.0
1.84k stars 1k forks source link

fix: :bug: consider initial `rangeStartDay` value in range selection #875

Open moazelsawaf opened 6 months ago

moazelsawaf commented 6 months ago

Hello there 👋🏻,

I just wanted to thank you for this great package! It's been really helpful for my Flutter projects 💪🏻💙

While using it in one of my apps, I found a small bug. It wasn't considering the starting day I set in rangeStartDay parameter in Range Selection. So, when I tapped on a day, it started selecting from the Start Day instead of just the End Day like it should 🐛

In this PR, I fixed the bug, tested it well, and now it works perfectly without affecting another functionality in the package 🛠️👍🏻

I hope you find it helpful 🙏🏻 Thanks again for your hard work in the Flutter community 💙 🙏🏻