Macacoazul01/month_picker_dialog

Setting lastDate w/out firstDate doesn't give the correct results

Closed this issue · 2 comments

exts commented

If initialDate is set to DateTime(2020, 7, 12) (july 2020) and lastDate is set to DateTime(2020,8) (august 2020) without setting firstDate the calendar won't show the year 2020 at all. It'll completely exclude 2020 as a year. Only when I set firstDate to 2 years ago then it properly excluded next month.

Should have fixed by #31

The fix provided by @mono0926 has been published as v0.3.3 to pub.dev