FriesI23 / simple_heatmap_calendar

💪📊 An easy-to-use and powerful heatmap chart package for Flutter!
https://pub.dev/packages/simple_heatmap_calendar
MIT License
12 stars 4 forks source link

Add to callbackModel ability to return a Widget on cell tapped #5

Closed JediPixels closed 8 months ago

JediPixels commented 8 months ago

I would love to see the feature added to be able to return a Widget for the cell tapped event. For example, I need the user to tap on a cell and show a Tooltip, or some other widget. I do not want to modify the current cell layout.

The callbackModel onCellPressed does not return a widget and cannot show a custom widget.

For example, the cellBuilder allows to return a widget but it requires a long press instead of just a press/tap. note: I know in the cellBuilder returning a Tooltip with triggerMode: TooltipTriggerMode.tap, opens with a Tap.

Thank you.