DateTimePickerUnit.date constructor

const DateTimePickerUnit.date({
  1. String? year = 'Y',
  2. String? month = 'M',
  3. String? day = 'D',
})

Implementation

const DateTimePickerUnit.date({
  this.year = 'Y',
  this.month = 'M',
  this.day = 'D',
})  : hour = null,
      minute = null,
      second = null;