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

Required named parameter 'vsync' must be provided #8

Closed
m-abdurehman opened this issue Jun 6, 2022 · 5 comments
Closed

Required named parameter 'vsync' must be provided #8

m-abdurehman opened this issue Jun 6, 2022 · 5 comments

Comments

@m-abdurehman
Copy link

: Error: Required named parameter 'vsync' must be provided. ../…/src/table_calendar_base.dart:192 return AnimatedSize( ^ : Context: Found this candidate, but the arguments don't match. ../…/widgets/animated_size.dart:56 const AnimatedSize({ ^^^^^^^^^^^^

@m-abdurehman
Copy link
Author

my project version is 2.2.0

@radikris
Copy link
Owner

radikris commented Jul 1, 2022

Hi, update the package, https://pub.dev/packages/booking_calendar/versions/1.1.2 will fix your problem. let me know

@m-abdurehman
Copy link
Author

Because no versions of stacked_hooks match >0.2.0 <0.2.1 and stacked_hooks >=0.2.1 <0.2.2 depends on flutter_hooks ^0.17.0, stacked_hooks >0.2.0 <0.2.2 requires flutter_hooks ^0.17.0.

And because stacked_hooks >=0.2.2 depends on flutter_hooks ^0.18.2+1 and stacked_hooks 0.2.0 depends on provider ^5.0.0, stacked_hooks >=0.2.0 requires flutter_hooks ^0.17.0 or ^0.18.2+1 or provider ^5.0.0.

And because booking_calendar >=1.1.2 depends on provider ^6.0.3 and mipromo depends on flutter_hooks ^0.16.0, stacked_hooks >=0.2.0 is incompatible with booking_calendar >=1.1.2.

So, because mipromo depends on both stacked_hooks ^0.2.0 and booking_calendar ^1.1.2, version solving failed.
pub get failed (1; So, because mipromo depends on both stacked_hooks ^0.2.0 and booking_calendar ^1.1.2, version solving failed.)
exit code 1

@m-abdurehman
Copy link
Author

also there is issue when we select other day it start slots with 00:00 value

@radikris
Copy link
Owner

@mithooo I knew about that, and https://pub.dev/packages/booking_calendar/versions/1.1.4 fixed that issue.
About the dep conflict I am not sure,

@radikris radikris reopened this Jul 16, 2022
@radikris radikris closed this as completed Jan 4, 2023
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