FespDatePicker constructor

const FespDatePicker({
  1. Key? key,
  2. int negativeYears = 100,
  3. int positiveYears = 100,
  4. bool readOnly = false,
  5. String labelText = 'Дата',
  6. dynamic onChange(
    1. DateTime? date
    )?,
  7. String dateFormat = 'dd.M.yyyy',
  8. required DateTime initialValue,
})

Implementation

const FespDatePicker({
  super.key,
  this.negativeYears = 100,
  this.positiveYears = 100,
  this.readOnly = false,
  this.labelText = 'Дата',
  this.onChange,
  this.dateFormat = 'dd.M.yyyy',
  required this.initialValue,
});