@@ -159,13 +159,18 @@ MonthView(
159159 startDay: WeekDays.sunday, // To change the first day of the week.
160160 // Event callbacks
161161 onEventTap: (event, data) => print('on tap'),
162+ onEventTapDetails: (event, data, details) => print('on tap details'),
162163 onEventDoubleTap: (event, data) => print('on double tap'),
164+ onEventDoubleTapDetails: (event, data, details) =>
165+ print('on double details'),
163166 onEventLongTap: (event, data) => print('on long tap'),
167+ onEventLongTapDetails: (event, data, details) =>
168+ print('on long tap details'),
164169 onDateLongPress: (date) => print(date),
165170 headerBuilder: MonthHeader.hidden, // To hide month header
166171 showWeekTileBorder: false, // To show or hide header border
167- hideDaysNotInMonth: true, // To hide days not in current month
168- showWeekends: false, // To hide weekends ( default is true)
172+ hideDaysNotInMonth: true, // To hide days or cell that are not in current month
173+ showWeekends: false, // To hide weekends default value is true
169174);
170175```
171176
@@ -241,6 +246,15 @@ WeekView(
241246 maxLines: 2,
242247 ), // To set full day events header text config
243248 keepScrollOffset: true, // To maintain scroll offset when the page changes
249+ liveTimeIndicatorSettings: LiveTimeIndicatorSettings(
250+ color: Colors.red,
251+ showTime: true,
252+ // Support for different timezones - provide custom DateTime function
253+ currentTimeProvider: () {
254+ final utcNow = DateTime.now().toUtc();
255+ return utcNow.subtract(Duration(hours: 4));
256+ },
257+ ),
244258);
245259```
246260
@@ -348,13 +362,13 @@ There are two ways to synchronize events between calendar views:
348362
349363## Main Contributors
350364
351- | ![ img] ( https://avatars.githubusercontent.com/u/25323183?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/65167856?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/36261739?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/56400956?v=4&s=200 ) |
352- | :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------:|
353- | [ Vatsal Tanna] ( https://github.com/vatsaltanna ) | [ Sanket Kachhela] ( https://github.com/sanket-simform ) | [ Parth Baraiya] ( https://github.com/ParthBaraiya ) | [ Ujas Majithiya] ( https://github.com/Ujas-Majithiya ) |
365+ | ![ img] ( https://avatars.githubusercontent.com/u/25323183?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/65167856?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/36261739?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/56400956?v=4&s=200 ) | ![ img ] ( https://avatars.githubusercontent.com/u/69202025?v=4&s=200 ) |
366+ | :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------: |
367+ | [ Vatsal Tanna] ( https://github.com/vatsaltanna ) | [ Sanket Kachhela] ( https://github.com/sanket-simform ) | [ Parth Baraiya] ( https://github.com/ParthBaraiya ) | [ Ujas Majithiya] ( https://github.com/Ujas-Majithiya ) | [ Rashi Shah ] ( https://github.com/rashi-shah ) |
354368
355- | ![ img] ( https://avatars.githubusercontent.com/u/89002539?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/44993081?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/65003381?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/72137369?v=4&s=200 ) |
356- | :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------:|
357- | [ Faiyaz Shaikh] ( https://github.com/faiyaz-shaikh ) | [ Dhaval Kansara] ( https://github.com/DhavalRKansara ) | [ Apurva Kanthraviya] ( https://github.com/apurva780 ) | [ Shubham Jitiya] ( https://github.com/ShubhamJitiya ) |
369+ | ![ img] ( https://avatars.githubusercontent.com/u/89002539?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/44993081?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/65003381?v=4&s=200 ) | ![ img] ( https://avatars.githubusercontent.com/u/72137369?v=4&s=200 ) | ![ img ] ( https://avatars.githubusercontent.com/u/81063988?v=4&s=200 ) |
370+ | :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------:| :------------------------------------------------------------------: |
371+ | [ Faiyaz Shaikh] ( https://github.com/faiyaz-shaikh ) | [ Dhaval Kansara] ( https://github.com/DhavalRKansara ) | [ Apurva Kanthraviya] ( https://github.com/apurva780 ) | [ Shubham Jitiya] ( https://github.com/ShubhamJitiya ) | [ Sahil Totala ] ( https://github.com/Flamingloon ) |
358372
359373## Contributing
360374
0 commit comments