SfDateRangePickerThemeData.raw constructor
SfDateRangePickerThemeData.raw({
- 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,
Create a SfDateRangePickerThemeData that's used to configure a SfDateRangePickerTheme.
Implementation
factory SfDateRangePickerThemeData.raw({
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,
}) {
brightness = brightness ?? Brightness.light;
return SfDateRangePickerThemeData(
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);
}