rwbr / flutter_neat_and_clean_calendar

Simple and clean flutter calendar with ability to slide up/down to show weekly/monthly calendar. Forked from [flutter_clean_calender](https://pub.dev/packages/flutter_clean_calendar)
MIT License
104 stars 51 forks source link

Expand and Collapse calendar programatically #77

Open mohsinnaqvi606 opened 3 months ago

mohsinnaqvi606 commented 3 months ago

I am looking for a way to expand and collapse the calendar programmatically.

Here is my use case I want to collapse the calendar when the user scrolls up the event list and expands the calendar back when scrolling down

I can detect the position of the list using the scroll controller but there is no property to expand and collapse the calendar

There is a property isExpanded: true, but it is not reactive, it is effective only first time after that it is not working.

I belive it will not difficult because, it is working from *bottomBar so please make it dynamic/reactive