DatePicker.week constructor
const
DatePicker.week({
- Key? key,
- bool allowClear = true,
- bool autoFocus = false,
- bool bordered = true,
- Widget dateBuilder()?,
- bool disabled = false,
- bool disabledDate(
- DateTime currentDate
- Widget getPopupContainer()?,
- bool inputReadOnly = false,
- DatePickerMode? mode,
- Widget? nextIcon,
- bool? open,
- Widget panelBuilder()?,
- Picker picker = Picker.date,
- String? placeholder,
- Alignment placement = Alignment.bottomLeft,
- Widget? prevIcon,
- DatePickerSize size = DatePickerSize.middle,
- DatePickerStatus? status,
- Widget? suffixIcon,
- Widget? superNextIcon,
- Widget? superPrevIcon,
- void onOpenChange(
- bool open
- void onPanelChange(
- DateTime value,
- DatePickerMode mode
- DateTime? defaultPickerValue,
- DateTime? defaultValue,
- String format = 'YYYY-WW',
- DateTime? value,
- void onChange()?,
Implementation
const DatePicker.week({
Key? key,
this.allowClear = true,
this.autoFocus = false,
this.bordered = true,
this.dateBuilder,
this.disabled = false,
this.disabledDate,
this.getPopupContainer,
this.inputReadOnly = false,
this.mode,
this.nextIcon,
this.open,
this.panelBuilder,
this.picker = Picker.date,
this.placeholder,
this.placement = Alignment.bottomLeft,
this.prevIcon,
this.size = DatePickerSize.middle,
this.status,
this.suffixIcon,
this.superNextIcon,
this.superPrevIcon,
this.onOpenChange,
this.onPanelChange,
this.defaultPickerValue,
this.defaultValue,
this.format = 'YYYY-WW',
this.extraFooterBuilder,
this.value,
this.onChange,
}) : disabledTime = null,
showNow = null,
showTime = null,
showToday = false,
onOk = null,
monthCellBuilder = null,
super(key: key);