WeeklyCalendarPickerDatSlotWidget.customChild constructor
WeeklyCalendarPickerDatSlotWidget.customChild({
- required Widget builder(),
- WCPDateSlotWidgetDecorations decorations = const WCPDateSlotWidgetDecorations.standard(),
- bool disabled = false,
- bool hovered = false,
- bool selected = false,
- double height = 35,
- double width = 55,
- dynamic callback()?,
- dynamic disabledCallback()?,
- dynamic onHoverChange()?,
- Key? key,
Implementation
WeeklyCalendarPickerDatSlotWidget.customChild({
required Widget Function(BuildContext) builder,
this.decorations = const WCPDateSlotWidgetDecorations.standard(),
this.disabled = false,
this.hovered = false,
this.selected = false,
this.height = 35,
this.width = 55,
this.callback,
this.disabledCallback,
this.onHoverChange,
Key? key,
}) : this.content = '',
this._isCustomChild = true,
this._childBuilder = builder,
super(key: key);