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
106 stars 55 forks source link

isJumpDateButtonEnabled = true this thing is missing #58

Closed abdarker closed 1 year ago

abdarker commented 1 year ago

isJumpDateButtonEnabled = true this thing is missing when i add it inside

Calender( isJumpDateButtonEnabled = true )

rwbr commented 1 year ago

Thank you for pointing to this topic. This is a problem of a not updated documentation. The option isJumpDateButtonEnabled was cut in a previous release. With that release I introduced different option for controlling the type of the date picker. this can be done with the option datePickerType. This optional parameter can have one of the following values:

enum DatePickerType { hidden, year, date }

Please forget about the parameter isJumpDateButtonEnabled. Use datePickerType instead. I will fix the documentation in the next release.

Thank you for your contribution.

abdarker commented 1 year ago

thanks for reaching me. and what if i want by pressing that button it will lead me to current date. just like what google calender does completely remove " today" button from the top