SfDateRangePickerThemeData class
Holds the color and typography values for a SfDateRangePickerTheme. Use this class to configure a SfDateRangePickerTheme widget
To obtain the current theme, use SfDateRangePickerTheme.of.
Widget build(BuildContext context) {
 return Scaffold(
    body: SfDateRangePickerTheme(
      data: SfDateRangePickerThemeData(
        backgroundColor: Colors.grey,
        brightness: Brightness.dark,
      ),
      child: SfDateRangePicker()
    ),
  );
}
- Mixed-in types
- Annotations
Constructors
- SfDateRangePickerThemeData({Color? backgroundColor, TextStyle? viewHeaderTextStyle, TextStyle? headerTextStyle, TextStyle? trailingDatesTextStyle, TextStyle? leadingCellTextStyle, TextStyle? activeDatesTextStyle, TextStyle? cellTextStyle, TextStyle? rangeSelectionTextStyle, Color? rangeSelectionColor, TextStyle? leadingDatesTextStyle, TextStyle? disabledDatesTextStyle, TextStyle? disabledCellTextStyle, Color? selectionColor, TextStyle? selectionTextStyle, Color? startRangeSelectionColor, Color? endRangeSelectionColor, Color? headerBackgroundColor, Color? viewHeaderBackgroundColor, Color? weekNumberBackgroundColor, TextStyle? blackoutDatesTextStyle, Color? todayHighlightColor, TextStyle? todayTextStyle, TextStyle? todayCellTextStyle, TextStyle? weekendDatesTextStyle, TextStyle? specialDatesTextStyle, TextStyle? weekNumberTextStyle})
- 
          Create a SfDateRangePickerThemeData given a set of exact values.
All the values must be specified.
            const
- 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.
            factory
Properties
- activeDatesTextStyle → TextStyle?
- 
  Specify the date picker current month cells text style.
  final
- backgroundColor → Color?
- 
  Specifies the background color of date picker widget.
  final
- blackoutDatesTextStyle → TextStyle?
- 
  Specify the date picker blackout cell text style.
  final
- cellTextStyle → TextStyle?
- 
  Specify the date picker current year, decade or century cells text style.
  final
- disabledCellTextStyle → TextStyle?
- 
  Specify the date picker disabled year, decade or century cell text style.
  final
- disabledDatesTextStyle → TextStyle?
- 
  Specify the date picker disabled cell text style.
  final
- endRangeSelectionColor → Color?
- 
  Specify the date picker end date of selected range background color
in month view when selection mode as range/multi-range selection.
  final
- hashCode → int
- 
  The hash code for this object.
  no setteroverride
- headerBackgroundColor → Color?
- 
  Specify the date picker header background color.
  final
- headerTextStyle → TextStyle?
- 
  Specify the date picker header text style.
  final
- leadingCellTextStyle → TextStyle?
- 
  Specify the date picker leading year, decade or century cell text style
  final
- leadingDatesTextStyle → TextStyle?
- 
  Specify the date picker leading dates cell text style.
  final
- rangeSelectionColor → Color?
- 
  Specify the date picker in-between selected range background color in
month view when selection mode as range/multi-range selection.
  final
- rangeSelectionTextStyle → TextStyle?
- 
  Specify the date picker in-between selected range text style in month
view when selection mode as range/multi-range selection.
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- selectionColor → Color?
- 
  Specify the date picker selected dates background color in
month view single and multiple selection.
  final
- selectionTextStyle → TextStyle?
- 
  Specify the date picker selected cell text style for the  single and
multiple selection and also for the start and end range of single
and multi-range selection.
  final
- specialDatesTextStyle → TextStyle?
- 
  Specify the date picker special dates text style in month view
  final
- startRangeSelectionColor → Color?
- 
  Specify the date picker start date of selected range background color
in month view when selection mode as range/multi-range selection.
  final
- todayCellTextStyle → TextStyle?
- 
  Specify the date picker today month, decade or century cell text style.
  final
- todayHighlightColor → Color?
- 
  Specify the date picker today highlight color.
  final
- todayTextStyle → TextStyle?
- 
  Specify the date picker today date month cell text style.
  final
- trailingDatesTextStyle → TextStyle?
- 
  Specify the date picker trailing dates cell text style.
  final
- viewHeaderBackgroundColor → Color?
- 
  Specify the view header background color in month view.
  final
- viewHeaderTextStyle → TextStyle?
- 
  Specify the date picker view header text style in month view.
  final
- weekendDatesTextStyle → TextStyle?
- 
  Specify the date picker weekend cell text style.
  final
- weekNumberBackgroundColor → Color?
- 
  Specify the background color of the week number panel in month view.
  final
- weekNumberTextStyle → TextStyle?
- 
  Specifies the text style for the week number text in month view.
  final
Methods
- 
  copyWith({Brightness? brightness, TextStyle? viewHeaderTextStyle, Color? backgroundColor, TextStyle? headerTextStyle, TextStyle? trailingDatesTextStyle, TextStyle? leadingCellTextStyle, TextStyle? activeDatesTextStyle, TextStyle? cellTextStyle, TextStyle? rangeSelectionTextStyle, TextStyle? leadingDatesTextStyle, TextStyle? disabledDatesTextStyle, TextStyle? disabledCellTextStyle, Color? selectionColor, Color? rangeSelectionColor, Color? weekNumberBackgroundColor, TextStyle? selectionTextStyle, Color? startRangeSelectionColor, Color? endRangeSelectionColor, Color? headerBackgroundColor, Color? viewHeaderBackgroundColor, TextStyle? blackoutDatesTextStyle, Color? todayHighlightColor, TextStyle? todayTextStyle, TextStyle? todayCellTextStyle, TextStyle? weekendDatesTextStyle, TextStyle? specialDatesTextStyle, TextStyle? weekNumberTextStyle}) → SfDateRangePickerThemeData 
- Creates a copy of this theme but with the given fields replaced with the new values.
- 
  debugFillProperties(DiagnosticPropertiesBuilder properties) → void 
- 
  Add additional properties associated with the node.
  override
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode 
- 
  Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
  inherited
- 
  toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String 
- 
  A string representation of this object.
  inherited
- 
  toStringShort() → String 
- 
  A brief description of this object, usually just the runtimeType and the
hashCode.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  override
Static Methods
- 
  lerp(SfDateRangePickerThemeData? a, SfDateRangePickerThemeData? b, double t) → SfDateRangePickerThemeData? 
- Linearly interpolate between two themes.