PlutoColumnTypeDate constructor

PlutoColumnTypeDate({
  1. dynamic defaultValue,
  2. DateTime? startDate,
  3. DateTime? endDate,
  4. required String format,
  5. required String headerFormat,
  6. required bool applyFormatOnInit,
  7. IconData? popupIcon,
})

Implementation

PlutoColumnTypeDate({
  this.defaultValue,
  this.startDate,
  this.endDate,
  required this.format,
  required this.headerFormat,
  required this.applyFormatOnInit,
  this.popupIcon,
})  : dateFormat = intl.DateFormat(format),
      headerDateFormat = intl.DateFormat(headerFormat);