Skyost / FlutterWeekView

Displays a highly customizable week view (or day view) which is able to display events, to be scrolled, to be zoomed-in & out and a lot more !
https://pub.dev/packages/flutter_week_view
MIT License
208 stars 89 forks source link

Click detection in an event #106

Closed MarlonPra closed 6 months ago

MarlonPra commented 6 months ago

Hello, I want to know what should I use to detect the click or tap to an event so that it can execute a window or something, thank you very much.

image

Skyost commented 6 months ago

onTap parameter (of FlutterWeekViewEvent) is the way.

MarlonPra commented 6 months ago

onTap parameter (of FlutterWeekViewEvent) is the way.

Could you give me an example of how to use it?

Skyost commented 6 months ago

You can check my project Unicaen Timetable, on Github :

https://github.com/Skyost/UnicaenTimetable/blob/master/lib/widgets/flutter_week_view.dart#L43

MarlonPra commented 6 months ago

You can check my project Unicaen Timetable, on Github :

https://github.com/Skyost/UnicaenTimetable/blob/master/lib/widgets/flutter_week_view.dart#L43

Thank you very much, I would like to know if you have discord or something similar, I am making a schedule for my University and I have some questions about the calendar, thank you very much 😁