DatePickerWidget constructor
const
DatePickerWidget({
- Key? key,
- CalendarDatePicker2Type? calendarType,
- dynamic onSelectionChanged()?,
- PickerDateRange? initialValue,
- double? height,
- double? width,
- TextStyle? weekLabelStyle,
- List<
String> ? weekLabel, - DateTime? firstDate,
- DateTime? lastDate,
- DateTime? startDate,
- Color? selectedHighlightColor,
- DatePickerMode? viewMode,
Implementation
const DatePickerWidget({
Key? key,
this.calendarType,
this.onSelectionChanged,
this.initialValue,
this.height,
this.width,
this.weekLabelStyle,
this.weekLabel,
this.firstDate,
this.lastDate,
this.startDate,
this.selectedHighlightColor,
this.viewMode,
}) : super(key: key);