selectedDate property

DateTime? selectedDate

Implementation

DateTime? get selectedDate =>
    _selectedDates.isEmpty ? null : _selectedDates.first;
void selectedDate=(DateTime? selectedDate)

Implementation

set selectedDate(DateTime? selectedDate) {
  _selectedDates.remove(_selectedDates.first);
  _selectedDates.add(selectedDate);
}