Skip to content

type 'HijriDateTime' is not a subtype of type 'DateTime' #285

@yasseralhendawy

Description

@yasseralhendawy

Hello,

While I am trying to use SfHijriDateRangePicker(),

it gave me this exception

`type 'HijriDateTime' is not a subtype of type 'DateTime'

When the exception was thrown, this was the stack:
#0 _IMonthView._getSemanticMonthLabel (package:syncfusion_flutter_datepicker/src/date_picker/month_view.dart:2029:39)
#1 _IMonthView._getSemanticsBuilder (package:syncfusion_flutter_datepicker/src/date_picker/month_view.dart:2012:20)
#2 _IMonthView.assembleSemanticsNode (package:syncfusion_flutter_datepicker/src/date_picker/month_view.dart:1884:52)
#3 _SwitchableSemanticsFragment.compileChildren (package:flutter/src/rendering/object.dart:3721:13)
#4 _SwitchableSemanticsFragment.compileChildren (package:flutter/src/rendering/object.dart:3713:16)
`

Thanks For your help & efforts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions