date property

String? date

The text value of selected date.

Implementation

String? get date => _date;
void date=(String? date)

Implementation

void set date(String? date) {
  if (_date != date) {
    _date = date;
    try {
      if (date != null)
        _value = _currentValue = _setDateValue(_dfmt.parse(date));
      _markCal();
    } on FormatException catch (_) {
      //_value = null; keep previous value
    }
  }
}