SfDateRangePickerThemeData constructor

SfDateRangePickerThemeData({
  1. Brightness? brightness,
  2. Color? backgroundColor,
  3. Color? startRangeSelectionColor,
  4. Color? endRangeSelectionColor,
  5. Color? headerBackgroundColor,
  6. Color? viewHeaderBackgroundColor,
  7. Color? todayHighlightColor,
  8. Color? selectionColor,
  9. Color? rangeSelectionColor,
  10. Color? weekNumberBackgroundColor,
  11. TextStyle? viewHeaderTextStyle,
  12. TextStyle? headerTextStyle,
  13. TextStyle? trailingDatesTextStyle,
  14. TextStyle? leadingCellTextStyle,
  15. TextStyle? activeDatesTextStyle,
  16. TextStyle? cellTextStyle,
  17. TextStyle? rangeSelectionTextStyle,
  18. TextStyle? leadingDatesTextStyle,
  19. TextStyle? disabledDatesTextStyle,
  20. TextStyle? disabledCellTextStyle,
  21. TextStyle? selectionTextStyle,
  22. TextStyle? blackoutDatesTextStyle,
  23. TextStyle? todayTextStyle,
  24. TextStyle? todayCellTextStyle,
  25. TextStyle? weekendDatesTextStyle,
  26. TextStyle? specialDatesTextStyle,
  27. TextStyle? weekNumberTextStyle,
})

Create a SfDateRangePickerThemeData that's used to configure a SfDateRangePickerTheme.

Implementation

factory SfDateRangePickerThemeData({
  Brightness? brightness,
  Color? backgroundColor,
  Color? startRangeSelectionColor,
  Color? endRangeSelectionColor,
  Color? headerBackgroundColor,
  Color? viewHeaderBackgroundColor,
  Color? todayHighlightColor,
  Color? selectionColor,
  Color? rangeSelectionColor,
  Color? weekNumberBackgroundColor,
  TextStyle? viewHeaderTextStyle,
  TextStyle? headerTextStyle,
  TextStyle? trailingDatesTextStyle,
  TextStyle? leadingCellTextStyle,
  TextStyle? activeDatesTextStyle,
  TextStyle? cellTextStyle,
  TextStyle? rangeSelectionTextStyle,
  TextStyle? leadingDatesTextStyle,
  TextStyle? disabledDatesTextStyle,
  TextStyle? disabledCellTextStyle,
  TextStyle? selectionTextStyle,
  TextStyle? blackoutDatesTextStyle,
  TextStyle? todayTextStyle,
  TextStyle? todayCellTextStyle,
  TextStyle? weekendDatesTextStyle,
  TextStyle? specialDatesTextStyle,
  TextStyle? weekNumberTextStyle,
}) {
  return SfDateRangePickerThemeData.raw(
      brightness: brightness,
      backgroundColor: backgroundColor,
      viewHeaderTextStyle: viewHeaderTextStyle,
      headerTextStyle: headerTextStyle,
      trailingDatesTextStyle: trailingDatesTextStyle,
      leadingCellTextStyle: leadingCellTextStyle,
      activeDatesTextStyle: activeDatesTextStyle,
      cellTextStyle: cellTextStyle,
      rangeSelectionTextStyle: rangeSelectionTextStyle,
      rangeSelectionColor: rangeSelectionColor,
      weekNumberBackgroundColor: weekNumberBackgroundColor,
      leadingDatesTextStyle: leadingDatesTextStyle,
      disabledDatesTextStyle: disabledDatesTextStyle,
      disabledCellTextStyle: disabledCellTextStyle,
      selectionColor: selectionColor,
      selectionTextStyle: selectionTextStyle,
      startRangeSelectionColor: startRangeSelectionColor,
      endRangeSelectionColor: endRangeSelectionColor,
      headerBackgroundColor: headerBackgroundColor,
      viewHeaderBackgroundColor: viewHeaderBackgroundColor,
      blackoutDatesTextStyle: blackoutDatesTextStyle,
      todayHighlightColor: todayHighlightColor,
      todayTextStyle: todayTextStyle,
      todayCellTextStyle: todayCellTextStyle,
      weekendDatesTextStyle: weekendDatesTextStyle,
      specialDatesTextStyle: specialDatesTextStyle,
      weekNumberTextStyle: weekNumberTextStyle);
}