TimeLineBuilder typedef Appearance

TimeLineBuilder = Widget Function(BuildContext context, double heightPerMinute, KalenderTimeRange timeOfDayRange, ValueNotifier<KalenderEvent?> eventBeingDragged, ValueListenable<KalenderDateTimeRange> visibleDateTimeRange)

The time line builder.

The heightPerMinute is the height of each minute. The timeOfDayRange is the range of time that the time line will be displayed for. The eventBeingDragged is the event currently being dragged or resized, which the default timeline labels with its start and end time. The visibleDateTimeRange is the range the calendar is showing, which those labels are only drawn for.

Resolve the style with KalenderTheme.of.

Implementation

typedef TimeLineBuilder =
    Widget Function(
      BuildContext context,
      double heightPerMinute,
      KalenderTimeRange timeOfDayRange,
      ValueNotifier<KalenderEvent?> eventBeingDragged,
      ValueListenable<KalenderDateTimeRange> visibleDateTimeRange,
    );