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

Example doesnt work #17

Closed
JohnnyCasares opened this issue Aug 25, 2022 · 3 comments
Closed

Example doesnt work #17

JohnnyCasares opened this issue Aug 25, 2022 · 3 comments

Comments

@JohnnyCasares
Copy link

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/booking_calendar-1.1.4/lib/src/components/booking_calendar_main.dart:174:29: Error: A value of type 'Set' can't be assigned to a variable of type 'Widget'.

The app only runs if the if-statement from line 174 is removed, but then I cant hide the break

@JohnnyCasares
Copy link
Author

Never Mind, the curly brackets '{}' need to be deleted from the if statement, then it works

@JohnnyCasares
Copy link
Author

However, if hideBreakTime parameter is set to true nothing appears at all, its better to not even answer the parameter

@radikris
Copy link
Owner

However, if hideBreakTime parameter is set to true nothing appears at all, its better to not even answer the parameter

Thank you for pointing this out, I just resolved it and uploaded the new version.
And I added an extra parameter for the customization, Startingdayofweek which could depend on your locale.

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