TimeRegion constructor
      
      TimeRegion({})
     
    
Creates a Time region for timeslot views in calendar.
The time region used to highlight and block the specific timeslots in timeslots view of SfCalendar.
Implementation
TimeRegion({
  required this.startTime,
  required this.endTime,
  this.text,
  this.recurrenceRule,
  this.color,
  this.enablePointerInteraction = true,
  this.recurrenceExceptionDates,
  this.resourceIds,
  this.timeZone,
  this.iconData,
  this.textStyle,
});