UIDatePickerField constructor

const UIDatePickerField({
  1. Key? key,
  2. String? label,
  3. DateTime? value,
  4. ValueChanged<DateTime>? onChanged,
  5. DateTime? firstDate,
  6. DateTime? lastDate,
  7. String hintText = 'Select date',
  8. bool enabled = true,
  9. bool useBottomSheet = false,
  10. DateFormat? dateFormat,
})

Implementation

const UIDatePickerField({
  super.key,
  this.label,
  this.value,
  this.onChanged,
  this.firstDate,
  this.lastDate,
  this.hintText = 'Select date',
  this.enabled = true,
  this.useBottomSheet = false,
  this.dateFormat,
});