HighlightBuilder typedef

HighlightBuilder = Widget? Function(BuildContext context, DateTime day, bool isWithinRange)

Signature for a function that creates a background highlight for a given day.

Used for highlighting current range selection. Contains a value determining if the given day falls within the selected range.

Implementation

typedef HighlightBuilder = Widget? Function(
    BuildContext context, DateTime day, bool isWithinRange);