aleksanderwozniak / table_calendar

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

Multiple-month support #862

Open ekuleshov opened 8 months ago

ekuleshov commented 8 months ago

Is your feature request related to a problem? Please describe.

First of all, thank you for this great package. It looks great on regular phone screens.

But on a large screens the widget could use the screen real estate more efficiently. Currently it simply padded to stretch to the available width:

image

Also, when selecting dates or interval on the large phone in a vertical layout or when using tablets, desktop or web it is highly desirable to be able to see multiple months.

Here are couple examples showing MacOS calendar app and MS Outlook calendar (the left side panel).

image image

Describe the solution you'd like

It would be great if the table_calendar widget would support multi-month view presentation and allowed to configure number of months shown horizontally and vertically. E.g. see 12 month layout in MacOS calendar above and 2 month vertical layout in MS Outlook.

Describe alternatives you've considered

I don't think it is possible to compose multi-month presentation using the current widget functionality or it will be cumbersome to implement, e.g. when you need to coordinate navigating between months/years or to select date range across multiple months.

Additional context

Please see screenshots above