Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when i move to date with animateToDate, selection color still remain. How can I fix it? #66

Open
gamcho3 opened this issue Mar 30, 2022 · 1 comment

Comments

@gamcho3
Copy link

gamcho3 commented Mar 30, 2022

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@neerajapex
Copy link

neerajapex commented Nov 8, 2022

I don't know If you have got the solution. But I faced the same problem and solved by these methods.

  1. I used the fixed version of this library.
    date_picker_timeline_fixed

  2. Define the date picker as mentioned in the example.

  3. Then called the 'setDateAndAnimate(_updatedDate)' method of DatePickerController inside 'setState(...) whenever I needed to change the date.
    setState(() {
    _datePickerController?.setDateAndAnimate(_updatedDate);
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants