specialRegions for Resources View (CalendarView.timelineDay) not showing the color for all resources (v 18.4.32)

My calendar has multiple resources (CalendarView.timelineDay) and I've added a specialRegion with Red color for all Resources and also enablePointerInteraction is set to false along with a recurrenceRule. While the user is not able to interact with the region, the color is only showing for the first (top) resource. This seems to not be an issue with previous versions (18.3.*).

6 Replies 1 reply marked as answer

IR Indumathi Ravichandran Syncfusion Team December 31, 2020 11:17 AM UTC

Hi Sid, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information, we have checked the mentioned issue “Special regions not showing for all resources in timeline day view of the Flutter calendar”. We have prepared the simple sample for adding special regions for all resources and it is working fine as expected from our end. We have attached the tested sample and Image. Please find the sample and Image from the following link. 
 
Link: 
 
Tested version: 18.4.32 
 
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us back with the following details. 
 
·       Issue reproducing video (if possible) 
·       Code snippet 
 
It will be helpful for us to check on it and provide you the solution at the earliest.   
 
Regards, 
Indumathi R


ST Sid Thampi December 31, 2020 08:44 PM UTC

Thanks for your response. Issue is reproducible from my side if text attribute is removed. Comment out the "text: 'Lunch', section of the code in _addSpecialRegions function.

void _addSpecialRegions() {
final DateTime date = DateTime.now();
Random random = Random();
for (int i = 0; i < _employeeCollection.length; i++) {
_specialTimeRegions.add(TimeRegion(
startTime: DateTime(date.year, date.month, date.day, 13, 0, 0),
endTime: DateTime(date.year, date.month, date.day, 14, 0, 0),
//text: 'Lunch',
resourceIds: <Object>[_employeeCollection[i].id],
recurrenceRule: 'FREQ=DAILY;INTERVAL=1',
color: Colors.red,
enablePointerInteraction: false));
}
}


IR Indumathi Ravichandran Syncfusion Team January 4, 2021 07:12 AM UTC

Hi Sid, 
 
Thank you for the update. 
 
We have already found and fixed the mentioned issue “Special regions not showing for all resources when text not mentioned for regions in the Flutter calendar”. We will include the issue fix in our upcoming Weekly Nuget package, which is expected to be rolled out by January 5, 2021 and let you know once the release rollout. We appreciate your patience until then. 
 
Regards, 
Indumathi R 



IR Indumathi Ravichandran Syncfusion Team January 5, 2021 05:09 AM UTC

Hi Sid, 
Thank you for your patience. 
 
We have included the mentioned issue fix for “Special regions not showing for all resources when text not mentioned for regions in the Flutter calendar” in our latest Weekly NuGet package version 18.4.33. Kindly update the Flutter calendar package to this version for resolving this mentioned issue. Please find the latest version from the following link.  
  
 
We hope that this helps you. Please let us know if you need further assistance.  
  
Regards,  
Indumathi R  



BR Brainative September 18, 2021 09:55 AM UTC

I'm looking for an example code about resource view  with json (online) in Flutter. Can you help me?



IR Indumathi Ravichandran Syncfusion Team September 20, 2021 01:12 PM UTC

Hi Brainative, 
 
Thank you for the update. 
 
Regarding Query: I'm looking for an example code about resource view  with json (online) in Flutter. Can you help me? 
 
 We have prepared the simple sample for loading the resource view image from online Json data. Please find the sample from the following link. 
 
 
We hope that this helps you. Please let us know if you need further assistance. 
 
Regards, 
Indumathi R 


Marked as answer
Loader.
Up arrow icon