SparkDatePicker<T> constructor

const SparkDatePicker<T>({
  1. Key? key,
  2. DateTime? defaultDate,
  3. DateTime? minDate,
  4. DateTime? maxDate,
  5. double height = 260,
  6. double itemHeight = 40,
  7. required DatePickerTheme theme,
  8. required DatePickerBehavior behavior,
  9. required String format,
  10. dynamic onChanged(
    1. T? result
    )?,
  11. dynamic onChange(
    1. Iterable<SparkPickerData>
    )?,
})

Implementation

const SparkDatePicker({
  Key? key,
  this.defaultDate,
  this.minDate,
  this.maxDate,
  this.height = 260,
  this.itemHeight = 40,
  required this.theme,
  required this.behavior,
  required this.format,
  this.onChanged,
  this.onChange,
}) : super(key: key);