FlutterSimpleCustomizeCalendar constructor
FlutterSimpleCustomizeCalendar({
- Key? key,
- String locale = 'ja',
- WEEKDAY_PATTERN weekDayPattern = WEEKDAY_PATTERN.short,
- BoxDecoration weekdayContainerDecoration = const BoxDecoration(),
- BorderRadius? dayContainerRadius,
- Color dayContainerDefaultColor = Colors.white,
- Color dayContainerSelectedColor = Colors.blue,
- Color dayContainerDisableColor = Colors.grey,
- Map<
int, TextStyle> ? dayTextStyle, - TextStyle otherTargetMonthTextStyle = const TextStyle(color: Colors.grey),
- DateTime? targetDay,
- DateTime? limitMinDate,
- DateTime? limitMaxDate,
- TextStyle disableTextStyle = const TextStyle(color: Colors.grey),
- required dynamic onDayPressed(),
- dynamic onRangedChange()?,
- DayContainer? dayWidget,
- HeaderContainer? headerWidget,
- List<
TextStyle> ? weekdayTextStyle, - WeekdayContainer? weekdayWidget,
- int firstWeekday = 0,
- bool rangedSelectable = false,
Implementation
FlutterSimpleCustomizeCalendar({
Key? key,
this.locale = 'ja',
this.weekDayPattern = WEEKDAY_PATTERN.short,
this.weekdayContainerDecoration = const BoxDecoration(),
this.dayContainerRadius,
this.dayContainerDefaultColor = Colors.white,
this.dayContainerSelectedColor = Colors.blue,
this.dayContainerDisableColor = Colors.grey,
this.dayTextStyle,
this.otherTargetMonthTextStyle = const TextStyle(
color: Colors.grey,
),
this.targetDay,
this.limitMinDate,
this.limitMaxDate,
this.disableTextStyle = const TextStyle(
color: Colors.grey,
),
required this.onDayPressed,
this.onRangedChange,
this.dayWidget,
this.headerWidget,
this.weekdayTextStyle,
this.weekdayWidget,
this.firstWeekday = 0,
this.rangedSelectable = false,
}) : super(key: key);