DateTimePickerUnit.yd constructor

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

Implementation

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