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
105 stars 52 forks source link

[Feature Request] Add scrollable PageView like for calendar #31

Closed Mayb3Nots closed 1 month ago

Mayb3Nots commented 2 years ago

It would be nice to be able to scroll with animation and can peek the next page.

rwbr commented 2 years ago

I think, I need some more input on this request. Wiche area do you want to scroll? The events list?

Mayb3Nots commented 2 years ago

Here at the main calendar, I wanna make the Column into a PageView.builder so that we can have the animation and view of the next/previous month instead of a instant setState changing the calendar. https://github.com/rwbr/flutter_neat_and_clean_calendar/blob/9b5948ad07b38e5b0a27804253e4710a70d622d7/lib/flutter_neat_and_clean_calendar.dart#L410-L422

I have actually taken a look at the source code and brainstorming how to make it possible, I will say it won't be an easy task because of how this plugin is written.

If you still don't understand I can send you a video example.

abusaadp commented 2 years ago

@Mayb3Nots Were you able to implement it? I am also looking at PageView slide animation for this calendar.

Mayb3Nots commented 2 years ago

@Mayb3Nots Were you able to implement it? I am also looking at PageView slide animation for this calendar.

Hi @abusaadp I did try to implement it myself. Unfortunately due to the nature on how to package works its not that straightforward. Also, another obstacle is that you can expand and collapse the calendar. I have since given up on the implementation.