DateRangePicker constructor
const
DateRangePicker({
- Key? key,
- DateTime? startDate,
- DateTime? endDate,
- DateTime? minDate,
- DateTime? maxDate,
- ValueChanged<
DateTime?> ? onStartDateChanged, - ValueChanged<
DateTime?> ? onEndDateChanged, - ValueChanged<
DateTimeRange< ? onDateRangeChanged,DateTime> ?> - Color? selectedDateColor,
- Color? selectedDateTextColor,
- Color? highlightColor,
- Color? highlightTextColor,
- Color? unselectedDateColor,
- Color? unselectedDateTextColor,
- TextStyle? weekDayTextStyle,
- VoidCallback? onOutlinePressed,
- VoidCallback? onFilledPressed,
- Color? filledColor,
- Color? outlinedColor,
- Color? filledButtonBorderColor,
- Color? outlinedButtonBorderColor,
- Color? filledButtonBackgroundColor,
- Color? outlinedButtonBackgroundColor,
- double? filledButtonWidth,
- double? outlinedButtonWidth,
- double? filledButtonHeight,
- double? outlinedButtonHeight,
- double? filledButtonBorderRadius,
- double? outlinedButtonBorderRadius,
- Widget? filledButtonChild,
- Widget? outlinedButtonChild,
- TextStyle? buttonTextStyle,
- String? outlinedButtonText,
- String? filledButtonText,
- String? dropDownHintText,
- String? dropDownValue,
- List<
String> ? dropDownItems, - ValueChanged<
String?> ? dropDownOnChanged, - Widget? dropDownGap,
- Color? dropDownBorderColor,
- Color? dropDownBackgroundColor,
- double? dropDownBorderWidth,
- double? dropDownBorderRadius,
- double? dropDownWidth,
- double? dropDownHeight,
- double? dropDownListWidth,
- double? dropDownListHeight,
- EdgeInsets? dropDownPadding,
- EdgeInsets? dropDownMargin,
- 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,
});