dateOnly property
bool
get
dateOnly
Does our format only only date fields, and no time fields.
For example, 'yyyy-MM-dd' would be true, but 'dd hh:mm' would be false.
Implementation
bool get dateOnly => _dateOnly ??= _checkDateOnly;