casvanluijtelaar / paged_vertical_calendar

A simple paginated framework for implementing calendar based interfaces.
Apache License 2.0
39 stars 33 forks source link

Give MonthBuilder full control of month layout #33

Open enhan2020 opened 1 year ago

enhan2020 commented 1 year ago

Thanks for the convenient and highly customizable package.

I would like to show some info below each month, it would be great if there is option to customize the footer for each month.

Thanks.

Eg. image

casvanluijtelaar commented 1 year ago

could be done, I guess for now you can put it into next months header. To add on to this request, ideally I want to provide the days as a child widget to the month builder, so monthBuilder can be in full controll of the widget layout, background etc... e.g.:

monthBuilder: (month, year, child) {
    return Column(
       mainAxisSize: MainAxisSize.min,
       children: [
           Header(),
           child, // the months "days" grid layout
           Footer(),
       ],
    ),
}