WeekIndicator.forDate constructor
WeekIndicator.forDate(
- DateTime date, {
- Key? key,
- bool alwaysUseNarrowestVariant = false,
- VoidCallback? onTap,
- WeekIndicatorStyle? style,
Implementation
WeekIndicator.forDate(
DateTime date, {
super.key,
this.alwaysUseNarrowestVariant = false,
this.onTap,
this.style,
}) : assert(date.debugCheckIsValidTimetableDate()),
week = date.week;