build method

  1. @override
Widget build(
  1. BuildContext context, {
  2. OnClickedDayClip? onClickedDayClip,
})
override

Implementation

@override
Widget build(BuildContext context, {OnClickedDayClip? onClickedDayClip}) {
  return dayClipModel.day == -1
      ? Text("")
      : (delegate != null
          ? delegate!.buildDayClip(context, dayClipModel, onClickedDayClip)
          : SimpleDayClipDelegate()
              .buildDayClip(context, dayClipModel, onClickedDayClip));
}