DatePicker constructor

const DatePicker({
  1. Key? key,
  2. required String date,
  3. required dynamic onDateChanged(
    1. DateTime
    ),
  4. bool autoHide = true,
  5. String prefix = '',
})

Implementation

const DatePicker({
  Key? key,
  required this.date,
  required this.onDateChanged,
  this.autoHide = true,
  this.prefix = '',
}) : super(key: key);