flutter_calendar_view icon indicating copy to clipboard operation
flutter_calendar_view copied to clipboard

Keep the status alive

Open Paroca72 opened this issue 2 years ago • 1 comments

Hello,

When using DayView, WeekView or/and MonthView inside a TabBarView cause lost the state of the single Tab on clicking on a new Tab. This produce a redraw every time when come back on a tab already "loaded".

To avoid this is possible to implement all three classed with AutomaticKeepAliveClientMixin and put wantKeepAlive property to true. It also be awesome to have the keepAlive properties in the class constructor so the user can decide to use or not this feature.

Very Thanks Sam

Paroca72 avatar Feb 25 '23 09:02 Paroca72

Hi @Paroca72 , Thanks for the suggestion. We will add this after doing some R&D on this. Right now I am putting it in the lowest priority as this is not a blocker and the user can extend the Calendar view classes and add this functionality.

PRBaraiya avatar Mar 20 '23 06:03 PRBaraiya