DateField constructor

const DateField({
  1. Key? key,
  2. String? label,
  3. DateTime? value,
  4. DateTime? fromDate,
  5. DateTime? toDate,
  6. required void onChanged(
    1. DateTime?
    ),
  7. IconData? icon = Icons.date_range,
})

Implementation

const DateField({
  super.key,
  this.label,
  this.value,
  this.fromDate,
  this.toDate,
  required this.onChanged,
  this.icon = Icons.date_range,
});