-
Notifications
You must be signed in to change notification settings - Fork 878
Description
Use case
Hi 👋,
I’m currently using this package and found it very useful — thank you for your work!
However, I had a specific requirement that wasn't supported in the current version, so I made some local modifications to add that feature. I would love to contribute these improvements back to the official repository.
Is this project open to community contributions? If so, I'd be happy to open a pull request and follow any contribution guidelines you may have.
Looking forward to your response!
Thanks.
Proposal
Hi 👋,
I’m currently using this package and found it very helpful — thank you for your work!
I had a specific requirement that isn't supported in the current version, so I made some local modifications to add that feature. I’d love to contribute these improvements back to the official repository.
Is this project open to community contributions? If so, I’d be happy to open a pull request and follow any contribution guidelines you may have.
Looking forward to your response!
Thanks.
Activity
Mugunthan-Ramalingam commentedon Jun 12, 2025
Hi @yagnik-sourcenet,
The Syncfusion Flutter widgets are commercial and not open source. Based on your query, it seems that you’re facing challenges in obtaining the desired results using our packages. To assist you further, we kindly request that you provide us with the details of the package you’re using and the specific outcome you’re aiming to achieve.
Regards,
Mugunthan.
yagnik-sourcenet commentedon Jun 16, 2025
I am using syncfusion_flutter_datepicker version 29.2.10 in my Flutter application. I am currently displaying user streaks as a date range using the SfDateRangePicker. However, I would like to allow users to navigate through different months without being able to modify the selected date range (i.e., the streak).
In other words:
The selected date range is used only for display purposes.
Users should be able to scroll through months freely.
The date range should remain fixed and non-interactive.
Currently, if the selectionMode is set to PickerDateRange, users can modify the selection. I am looking for a way to disable interaction with the selected range while still allowing month navigation.
Is there any existing property or workaround to achieve this? If not, I would like to request a feature or guidance on how to implement this behavior.
Thanks!
Mugunthan-Ramalingam commentedon Jun 17, 2025
Hi @yagnik-sourcenet,
We have prepared a sample based on your requirement, which prevents user interaction with the selected date range while still allowing free month navigation. In this solution, we used the onSelectionChanged callback to restrict users from modifying the selected range. Whenever a new date is added to the streak, the selected range is updated programmatically through the controller. These changes ensure the date picker allows seamless navigation between months without affecting the selected date range. This approach guarantees that the selected range is for display purposes only and cannot be modified by the user.
onSelectionChanged UG link: https://help.syncfusion.com/flutter/daterangepicker/callbacks#selection-changed-callback
We have shared the sample for your reference, and you can customize it further based on your specific requirements.
Demo:
Sample: gh_2376.zip
Regards,
Mugunthan.