GNDateRangeSelect constructor

GNDateRangeSelect({
  1. Key? key,
  2. required List<DateTime>? dateTimeRangeList,
  3. required void onDateSelected(
    1. List<DateTime>? dateTimeList
    ),
  4. bool? isRequired = false,
  5. Color? iconColor,
  6. Color? backgroundColor,
  7. double? iconSize,
  8. double? fontSize,
  9. Color? fontColor,
  10. Color? borderColor,
  11. bool isShowClearButton = true,
  12. DateTime? startFirstDate,
  13. DateTime? endFirstDate,
  14. DateTime? startLastDate,
  15. DateTime? endLastDate,
})

Implementation

GNDateRangeSelect(
    {super.key,
    required this.dateTimeRangeList,
    required this.onDateSelected,
    this.isRequired = false,
    this.iconColor,
    this.backgroundColor,
    this.iconSize,
    this.fontSize,
    this.fontColor,
    this.borderColor,
    this.isShowClearButton = true,
    this.startFirstDate,
    this.endFirstDate,
    this.startLastDate,
    this.endLastDate});