SparkDatePicker<T> constructor
const
SparkDatePicker<T> ({
- Key? key,
- DateTime? defaultDate,
- DateTime? minDate,
- DateTime? maxDate,
- double height = 260,
- double itemHeight = 40,
- required DatePickerTheme theme,
- required DatePickerBehavior behavior,
- required String format,
- dynamic onChanged(
- T? result
- dynamic onChange()?,
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);