I'm a beginner and this may be basic to most of you, but I did struggle for a few weeks and now I've decided to ask for help.
I'm using SfCalendar in a Flutter project, and I can't pass data "backwards" to main.dart - appBar.
I want to place the month (onChanged) on the AppBar in main.dart. However, my _month is on another file in another widget
MyApp(
child:CalendarWidget(
child: SfCalendar //_month is here))
I hope the screenshot makes more sense.
I tried Provider but failed....(don't know how to use it tbh.) :(
I hope this helps.
@pmatatias @Nikunj Ramani (did't work for me)