time_planner icon indicating copy to clipboard operation
time_planner copied to clipboard

[Feature Request] Get task or day / time in onTap method

Open farrukhnajmi opened this issue 1 year ago • 2 comments

Thanks for a nice widget.

When I tap on the widget, how can I get info about where I tapped? Ideally, I need to know day of week and the time of day where I clicked and if there is an existing task there, I would like to get that as well.

The use case is that I want to display the task info where I tapped and allow deletion of task or creation of a new one.

This does not currently seem possible.

The ideal onTap method would look something like this:

onTap(int column, TimeOfDay timeOfDay, List<TimePlannerTask> tasksTapped);

Does current version support my use case in some way? If not, would it be possible to enhance the onTap method to support it?

farrukhnajmi avatar Jan 25 '24 23:01 farrukhnajmi