Skip to content

[syncfusion_flutter_calendar] Getting error richtTextWidget is RichText is not true when building SfCalendar() #1437

@samuelchanx

Description

@samuelchanx

I'm experiencing this error when building just the default SFCalendar, showing up when the header is shown.

Flutter version: 3.13.6 Stable channel, and I'm building it for flutter web.

My widget:
SfCalendar(),

And the error of richTextWidget is RichText is not true is shown up, details as below:

syncfusion_flutter_calendar-23.1.38/lib/src/calendar/sfcalendar.dart:11598:12
richTextWidget is RichText
is not true

The relevant error-causing widget was:
  _CalendarHeaderView

The corresponding code in the sfcalendar.dart:

image

Any way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    calendarCalendar component

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions