You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed hasSize and other related issues to improve package stability and performance. Minor improvements to documentation for clearer usage instructions. Package has been simplified.
Copy file name to clipboardexpand all lines: CHANGELOG.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -20,4 +20,8 @@
20
20
21
21
## 1.0.0
22
22
23
-
* Stable version - fixed issues & added new features (about scrollbars).
23
+
* Stable version - fixed issues & added new features (about scrollbars).
24
+
25
+
## 1.0.1
26
+
27
+
* Fixed hasSize and other related issues to improve package stability and performance. Minor improvements to documentation for clearer usage instructions. Package has been simplified.
Copy file name to clipboardexpand all lines: README.md
+41-53
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
A time scheduler for Android & IOS where you can create events by clicking on cells, edit (update) and delete the events you have created. You can assign colours to events and if the name of the event is too long, you can see the full name and description by long pressing on the event.
1
+
A time table for Android & IOS where you can create events by clicking on cells, edit (update) and delete the events you have created. You can assign colours to events and if the name of the event is too long, you can see the full name and description by long pressing on the event.
Create a list of event models with title, column index, row index and color. <br> The row and column index, specify the index of the elements in the column and row titles (Mon, Tue or 08:00, 09:00). They starts from 0:
23
+
24
+
Create a list of event models with title, column index, row index and color. <br> The row and column index, specify the index of the elements in the column and row labels (Mon, Tue or 08:00, 09:00). They starts from 0:
28
25
```dart
29
-
List<EventModel> eventList = [
30
-
EventModel(
31
-
title: "Math",
32
-
columnIndex: 0, // columnIndex is columnTitle's index (Monday : 0 or Day 1 : 0)
33
-
rowIndex: 2, // rowIndex is rowTitle's index (08:00 : 0 or Time 1 : 0)
34
-
color: Colors.orange,
35
-
),
36
-
EventModel(
37
-
title: "History",
38
-
columnIndex: 1,
39
-
rowIndex: 5,
40
-
color: Colors.pink,
41
-
),
42
-
EventModel(
43
-
title: "Guitar & Piano Course",
44
-
columnIndex: 4,
45
-
rowIndex: 8,
46
-
color: Colors.green,
47
-
),
48
-
EventModel(
49
-
title: "Meeting",
50
-
columnIndex: 3,
51
-
rowIndex: 1,
52
-
color: Colors.deepPurple,
53
-
),
54
-
EventModel(
55
-
title: "Guitar and Piano Course",
56
-
columnIndex: 2,
57
-
rowIndex: 9,
58
-
color: Colors.blue,
59
-
)
60
-
];
26
+
List<Event> eventList = [
27
+
Event(
28
+
title: "Flutter Project",
29
+
columnIndex: 0, //columnLabel's index (Monday)
30
+
rowIndex: 3, //rowLabel's index (08:00)
31
+
color: Colors.orange,
32
+
),
33
+
Event(
34
+
title: "Deep Learning Course",
35
+
columnIndex: 1,
36
+
rowIndex: 6,
37
+
color: Colors.pink,
38
+
),
39
+
Event(
40
+
title: "Violin & Piano Course",
41
+
columnIndex: 4,
42
+
rowIndex: 8,
43
+
color: Colors.green,
44
+
),
45
+
Event(
46
+
title: "Sport",
47
+
columnIndex: 3,
48
+
rowIndex: 1,
49
+
color: Colors.deepPurpleAccent,
50
+
),
51
+
Event(
52
+
title: "Algorithm and Data Structures",
53
+
columnIndex: 2,
54
+
rowIndex: 11,
55
+
color: Colors.blue,
56
+
)
57
+
];
61
58
```
62
59
Create your Time Scheduler Widget: <br>
63
60
64
61
```dart
65
62
TimeSchedulerTable(
66
63
cellHeight: 64,
67
64
cellWidth: 72,
68
-
columnTitles: const [ // You can assign any value to columnTitles. For Example : ['Column 1','Column 2','Column 3', ...]
65
+
columnLabels: const [ // You can assign any value to columnLabels. For Example : ['Column 1','Column 2','Column 3', ...]
0 commit comments