How do I create -> Map < DateTime, int >

Custom Code

I am trying to create a heat map calendar using this flutter package -> https://pub.dev/packages/flutter_heatmap_calendar

The main input parameter, datasets, is of type Map<DateTime, int>. How do I transform my data in this type?

I would appreciate any help or direction here. Thank you ๐Ÿ˜Š

What have you tried so far?

So far I have tried using custom data type and I am getting the following error:

Did you check FlutterFlow's Documentation for this topic?
Yes
2
1 reply