-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[syncfusion_calendar] richTextWidget is RichText is not true is shown up #2234
Comments
Hi @NoirFreedom , We have checked the mentioned scenario and tried to replicate the reported issue as richTextWidget is RichText is not true is showing up in the SfCalendar with version 28.1.37. However, we were unable to reproduce it on our end. Please review the attached sample, and if you are still encountering the issue, we kindly request that you replicate it in the attached sample and provide us with additional details about the specific scenario in which the issue occurs. This will help us assist you more effectively. Regards, |
hmm..first of all, I used 28.1.35 version at first, this was because when I run my project with 28.1.37 version, it occurs the error below
after that I upgraded my flutter version to 28.1.37, but still |
Hi @NoirFreedom , In the current implementation of the SfCalendar, we’ve noticed that the_getTextWidgetWidth function checks if the created widget is of type RichText. If it is not, it triggers an assertion as richTextWidget will always be a RichText. To ensure we're addressing correctly, we kindly request that you confirm whether the correct type of data has been provided in your implementation. Additionally, we request that you replicate it in the sample and provide us with more details along with demo regarding the specific scenario in which you are encountering this issue. This will help us to assist you more effectively. Regards, |
I initially thought the issue was with my code, but after reproducing your sample code, it worked fine without any assertion errors. To investigate further, I copied and pasted my code into the sample project, and it also worked without issues. Given that my code works fine in the sample project, are there any other factors or clues that might lead to this assertion error in my actual project? Could it be related to project-specific configurations or dependencies? I upgraded my flutter version, and this is the result of |
|
Bug description
I'm experiencing this error when building just the default SFCalendar, showing up when the header is shown.
Flutter version: 3.24.3 Stable channel
imported package version: 28.1.35
I'm building it for flutter web.
And the error of richTextWidget is RichText is not true is shown up, details as below:
Steps to reproduce
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
Web
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: