flutter_timetable_view icon indicating copy to clipboard operation
flutter_timetable_view copied to clipboard

On tap Callback for empty time slot

Open a-k-o-r-e-d-e opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. After creating a Table Event, There is an On Tap Call Back Method, but there is no Callback method for an empty time cell

Describe the solution you'd like I would like a callback to be available for an empty time cell. This callback should only be triggered when an empty time slot is tapped. The Callback should provide information about the particular time slot that was tapped.

Additional context To Provide some context, Lets say I have 7 lanes one for each day of the week, I can provide a Floating action that shows a widget for adding my events, but it would be nice if I had a call back on each empty time slot such that once clicked would automatically pass me the details of the time slot, which I can then pass to the widget for adding event or handle it however I prefer

Thank you

a-k-o-r-e-d-e avatar Dec 10 '20 13:12 a-k-o-r-e-d-e

@Lone-Wolf17 Thank you for issue. I will do some maintenance work on the weekend. If you have a suggestion that includes PR, please create it. I would like to take it forward.

yamarkz avatar Dec 10 '20 13:12 yamarkz

I have some ideas but I am pretty new to Programming, Dart, and Flutter, so I am kind of reluctant to take on something this big. I don't want to mess things up.

I will however try, let's see what I can cook up

a-k-o-r-e-d-e avatar Dec 10 '20 15:12 a-k-o-r-e-d-e