DateRangePicker constructor

const DateRangePicker({
  1. Key? key,
  2. DateTime? startDate,
  3. DateTime? endDate,
  4. DateTime? minDate,
  5. DateTime? maxDate,
  6. ValueChanged<DateTime?>? onStartDateChanged,
  7. ValueChanged<DateTime?>? onEndDateChanged,
  8. ValueChanged<DateTimeRange<DateTime>?>? onDateRangeChanged,
  9. Color? selectedDateColor,
  10. Color? selectedDateTextColor,
  11. Color? highlightColor,
  12. Color? highlightTextColor,
  13. Color? unselectedDateColor,
  14. Color? unselectedDateTextColor,
  15. TextStyle? weekDayTextStyle,
  16. VoidCallback? onOutlinePressed,
  17. VoidCallback? onFilledPressed,
  18. Color? filledColor,
  19. Color? outlinedColor,
  20. Color? filledButtonBorderColor,
  21. Color? outlinedButtonBorderColor,
  22. Color? filledButtonBackgroundColor,
  23. Color? outlinedButtonBackgroundColor,
  24. double? filledButtonWidth,
  25. double? outlinedButtonWidth,
  26. double? filledButtonHeight,
  27. double? outlinedButtonHeight,
  28. double? filledButtonBorderRadius,
  29. double? outlinedButtonBorderRadius,
  30. Widget? filledButtonChild,
  31. Widget? outlinedButtonChild,
  32. TextStyle? buttonTextStyle,
  33. String? outlinedButtonText,
  34. String? filledButtonText,
  35. String? dropDownHintText,
  36. String? dropDownValue,
  37. List<String>? dropDownItems,
  38. ValueChanged<String?>? dropDownOnChanged,
  39. Widget? dropDownGap,
  40. Color? dropDownBorderColor,
  41. Color? dropDownBackgroundColor,
  42. double? dropDownBorderWidth,
  43. double? dropDownBorderRadius,
  44. double? dropDownWidth,
  45. double? dropDownHeight,
  46. double? dropDownListWidth,
  47. double? dropDownListHeight,
  48. EdgeInsets? dropDownPadding,
  49. EdgeInsets? dropDownMargin,
  50. TextStyle? dropDownTextStyle,
})

Implementation

const DateRangePicker({
  super.key,
  this.startDate,
  this.endDate,
  this.minDate,
  this.maxDate,
  this.onStartDateChanged,
  this.onEndDateChanged,
  this.onDateRangeChanged,
  this.selectedDateColor,
  this.selectedDateTextColor,
  this.highlightColor,
  this.highlightTextColor,
  this.unselectedDateColor,
  this.unselectedDateTextColor,
  this.weekDayTextStyle,

  /// Action Button Requirements
  this.onOutlinePressed,
  this.onFilledPressed,
  this.filledColor,
  this.outlinedColor,
  this.filledButtonBorderColor,
  this.outlinedButtonBorderColor,
  this.filledButtonBackgroundColor,
  this.outlinedButtonBackgroundColor,
  this.filledButtonWidth,
  this.outlinedButtonWidth,
  this.filledButtonHeight,
  this.outlinedButtonHeight,
  this.filledButtonBorderRadius,
  this.outlinedButtonBorderRadius,
  this.filledButtonChild,
  this.outlinedButtonChild,
  this.buttonTextStyle,
  this.outlinedButtonText,
  this.filledButtonText,

  /// Dropdown Requirements
  this.dropDownHintText,
  this.dropDownValue,
  this.dropDownItems,
  this.dropDownOnChanged,
  this.dropDownGap,
  this.dropDownBorderColor,
  this.dropDownBackgroundColor,
  this.dropDownBorderWidth,
  this.dropDownBorderRadius,
  this.dropDownWidth,
  this.dropDownHeight,
  this.dropDownListWidth,
  this.dropDownListHeight,
  this.dropDownPadding,
  this.dropDownMargin,
  this.dropDownTextStyle,
});