maxTime property

DateTime? get maxTime

Returns maximum time for time picker when selected date is maximum date.

Implementation

DateTime? get maxTime {
  if (_sameDate(_date, maxDateTime)) {
    return cloneDateTime(maxDateTime);
  }
  return null;
}