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

RangeError (end): Invalid value: Not in inclusive range 0..2: 3 #7

Closed
fkranenburg opened this issue Feb 12, 2022 · 3 comments · Fixed by #8
Closed

RangeError (end): Invalid value: Not in inclusive range 0..2: 3 #7

fkranenburg opened this issue Feb 12, 2022 · 3 comments · Fixed by #8

Comments

@fkranenburg
Copy link

I'm using the following list of DayInWeek but the widget does not allow these names.

    List<DayInWeek> _days = [
      DayInWeek("Zo", isSelected: schedule.day1!),
      DayInWeek("Ma", isSelected: schedule.day2!),
      DayInWeek("Di", isSelected: schedule.day3!),
      DayInWeek("Wo", isSelected: schedule.day4!),
      DayInWeek("Do", isSelected: schedule.day5!),
      DayInWeek("Vr", isSelected: schedule.day6!),
      DayInWeek("Za", isSelected: schedule.day7!),
    ];
@shan-shaji
Copy link
Owner

Hey @fkranenburg , Thank you for opening the issue. I have fixed the issue and will release a new version as soon as possible

shan-shaji added a commit that referenced this issue Feb 12, 2022
@shan-shaji
Copy link
Owner

Try using day_picker: ^2.1.1

@shan-shaji shan-shaji linked a pull request Feb 13, 2022 that will close this issue
@shan-shaji shan-shaji pinned this issue Feb 13, 2022
@shan-shaji shan-shaji unpinned this issue Feb 13, 2022
@shan-shaji
Copy link
Owner

@fkranenburg , Closing this issue for now. Hope the issue is fixed. If you are still facing the issue do reopen.

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

Successfully merging a pull request may close this issue.

2 participants