WeeklyCalendarPickerDatSlotWidget.customChild constructor

WeeklyCalendarPickerDatSlotWidget.customChild({
  1. required Widget builder(
    1. BuildContext
    ),
  2. WCPDateSlotWidgetDecorations decorations = const WCPDateSlotWidgetDecorations.standard(),
  3. bool disabled = false,
  4. bool hovered = false,
  5. bool selected = false,
  6. double height = 35,
  7. double width = 55,
  8. dynamic callback()?,
  9. dynamic disabledCallback()?,
  10. dynamic onHoverChange(
    1. bool
    )?,
  11. 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);