Skip to content

Commit 9bae302

Browse files
Sahil-SimformPRBaraiya
authored andcommitted
doc: 📝 Updated Documentation
1 parent 753daf0 commit 9bae302

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

doc/documentation.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)