iamvivekkaushik/DatePickerTimelineFlutter

What's the use of setDatePickerState ? and how to use it

Closed this issue · 5 comments

Actually I'm trying to set the date programatically by clicking from a button

I've added a new function to the controller setDateAndAnimate you will need to use the github version of this repo in your project.

@iamvivekkaushik thanks ! nice package by the way :)

Thank you!

Unfortunately the UI does not change. When I debugged it the variable has the new value, but the UI is not changing.

Unfortunately the UI does not change. When I debugged it the variable has the new value, but the UI is not changing.

I just wrapped the method call inside setState() and it works fine.