weekStart property
First day of week.
Uses the same values as DateTime.monday through DateTime.sunday:
- 1 = Monday (DateTime.monday)
- 2 = Tuesday
- 3 = Wednesday
- 4 = Thursday
- 5 = Friday
- 6 = Saturday
- 7 = Sunday (DateTime.sunday)
Default is Sunday (7) for English locale. Many locales use Monday (1).
Implementation
@override
int get weekStart => _weekStart ?? _base.weekStart;