DatePicker constructor
const
DatePicker({
- Key? key,
- required DateTime? initialDateTime,
- int minuteInterval = 1,
- DateTime? maxDateTime,
- DateTime? minDateTime,
- required CupertinoDatePickerMode mode,
- required dynamic onDateChanged(),
- bool use24hFormat = true,
- required TextStyle textStyle,
- DatePickerDateOrder? dateOrder,
Implementation
const DatePicker({
Key? key,
required this.initialDateTime,
this.minuteInterval = 1,
this.maxDateTime,
this.minDateTime,
required this.mode,
required this.onDateChanged,
this.use24hFormat = true,
required this.textStyle,
this.dateOrder,
}) : super(key: key);