Skip to content

Support for timeSlotColorBuilder in MultiDayView #535

@lavigarg-simform

Description

@lavigarg-simform

DayView and WeekView currently support timeSlotColorBuilder which allows developers to customize the background color of time slots dynamically.

However, similar customization is currently unavailable in MultiDayView.

It would be great to add timeSlotColorBuilder support to MultiDayView as well for API consistency across calendar views and to allow theme-aware or state-based slot styling.

Motivation

This would help developers:

  • apply dynamic background colors based on date/time/state
  • support custom theming more easily
  • maintain visual consistency across all calendar view types
  • avoid hardcoded styling workarounds

Proposed API

Color? Function(DateTime date)? timeSlotColorBuilder

or an equivalent signature matching the existing implementation in DayView and WeekView.

Metadata

Metadata

Labels

enhancementNew feature or requestpriority:1Bug/Enhancement with highest priority.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions