PickerDateRange constructor Null safety

const PickerDateRange(
  1. DateTime? startDate,
  2. DateTime? endDate
)

Creates a picker date range with the given start and end date.

Implementation

const PickerDateRange(this.startDate, this.endDate);