@@ -159,13 +159,18 @@ MonthView(
159
159
startDay: WeekDays.sunday, // To change the first day of the week.
160
160
// Event callbacks
161
161
onEventTap: (event, data) => print('on tap'),
162
+ onEventTapDetails: (event, data, details) => print('on tap details'),
162
163
onEventDoubleTap: (event, data) => print('on double tap'),
164
+ onEventDoubleTapDetails: (event, data, details) =>
165
+ print('on double details'),
163
166
onEventLongTap: (event, data) => print('on long tap'),
167
+ onEventLongTapDetails: (event, data, details) =>
168
+ print('on long tap details'),
164
169
onDateLongPress: (date) => print(date),
165
170
headerBuilder: MonthHeader.hidden, // To hide month header
166
171
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
169
174
);
170
175
```
171
176
@@ -241,6 +246,15 @@ WeekView(
241
246
maxLines: 2,
242
247
), // To set full day events header text config
243
248
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
+ ),
244
258
);
245
259
```
246
260
@@ -348,13 +362,13 @@ There are two ways to synchronize events between calendar views:
348
362
349
363
## Main Contributors
350
364
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 ) |
354
368
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 ) |
358
372
359
373
## Contributing
360
374
0 commit comments