FlutterSimpleCustomizeCalendar constructor

FlutterSimpleCustomizeCalendar({
  1. Key? key,
  2. String locale = 'ja',
  3. WEEKDAY_PATTERN weekDayPattern = WEEKDAY_PATTERN.short,
  4. BoxDecoration weekdayContainerDecoration = const BoxDecoration(),
  5. BorderRadius? dayContainerRadius,
  6. Color dayContainerDefaultColor = Colors.white,
  7. Color dayContainerSelectedColor = Colors.blue,
  8. Color dayContainerDisableColor = Colors.grey,
  9. Map<int, TextStyle>? dayTextStyle,
  10. TextStyle otherTargetMonthTextStyle = const TextStyle(color: Colors.grey),
  11. DateTime? targetDay,
  12. DateTime? limitMinDate,
  13. DateTime? limitMaxDate,
  14. TextStyle disableTextStyle = const TextStyle(color: Colors.grey),
  15. required dynamic onDayPressed(
    1. DateTime
    ),
  16. dynamic onRangedChange(
    1. List<DateTime>?
    )?,
  17. DayContainer? dayWidget,
  18. HeaderContainer? headerWidget,
  19. List<TextStyle>? weekdayTextStyle,
  20. WeekdayContainer? weekdayWidget,
  21. int firstWeekday = 0,
  22. 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);