dooboolab-community / flutter_calendar_carousel

Calendar widget for flutter that is swipeable horizontally. This widget can help you build your own calendar widget highly customizable.
MIT License
837 stars 307 forks source link

Changing firstDayOfWeek doesn't have any effect #320

Closed bojmaliev closed 1 year ago

bojmaliev commented 1 year ago

Version of flutter_calendar_carousel

^2.4.1

Expected behavior

Changing firstDayOfWeek to 0 should make Monday as first day shown in the calendar.

Actual behavior

Changing of firstDayOfWeek doesn't have any difference. Sundays always stays the same

flutter doctor result (run flutter doctor in terminal)

Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale en-MK)

Steps to reproduce the behavior

Create new project & install package

adamcastleman commented 1 year ago

If you want Monday to be the first day of the week, set the firstDayOfWeek to 1. Sunday is 0 index.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.