@@ -4,8 +4,8 @@ import 'package:mstudy/main.dart';
4
4
List <StudySpace > studySpaces = [
5
5
StudySpace (
6
6
title: "Art, Architecture, and Engineering Library" ,
7
+ id: "duderstadt" ,
7
8
openingHours: List .filled (7 , const OpeningHours .allDay ()),
8
- pictureUrl: "assets/duderstadt.webp" ,
9
9
address: "2281 Bonisteel Blvd" ,
10
10
buildingPosition:
11
11
const BuildingPosition (latitude: 42.291165 , longitude: - 83.715716 ),
@@ -15,6 +15,7 @@ List<StudySpace> studySpaces = [
15
15
),
16
16
StudySpace (
17
17
title: "Hatcher Library" ,
18
+ id: "hatcher" ,
18
19
openingHours: [
19
20
...List .filled (
20
21
4 ,
@@ -27,7 +28,6 @@ List<StudySpace> studySpaces = [
27
28
const OpeningHours .range (
28
29
TimeOfDay (hour: 13 , minute: 0 ), TimeOfDay (hour: 19 , minute: 0 )),
29
30
],
30
- pictureUrl: "assets/hatcher.webp" ,
31
31
address: "913 S. University Avenue" ,
32
32
buildingPosition: const BuildingPosition (
33
33
latitude: 42.276334 ,
@@ -37,14 +37,15 @@ List<StudySpace> studySpaces = [
37
37
areas: [
38
38
Area (
39
39
title: "Asia Library" ,
40
+ id: "asia" ,
40
41
floor: "4" ,
41
- pictureUrl: "assets/hatcher_asia.webp" ,
42
42
indoor: true ,
43
43
)
44
44
],
45
45
),
46
46
StudySpace (
47
47
title: "Shapiro Library" ,
48
+ id: "shapiro" ,
48
49
openingHours: [
49
50
...List .filled (4 , const OpeningHours .allDay ()),
50
51
const OpeningHours .range (
@@ -54,7 +55,6 @@ List<StudySpace> studySpaces = [
54
55
const OpeningHours .range (
55
56
TimeOfDay (hour: 10 , minute: 0 ), TimeOfDay (hour: 0 , minute: 0 )),
56
57
],
57
- pictureUrl: "assets/shapiro.webp" ,
58
58
address: "919 S. University Ave" ,
59
59
buildingPosition:
60
60
const BuildingPosition (latitude: 42.275615 , longitude: - 83.737183 ),
@@ -64,6 +64,7 @@ List<StudySpace> studySpaces = [
64
64
),
65
65
StudySpace (
66
66
title: "Fine Arts Library" ,
67
+ id: "fine_arts" ,
67
68
openingHours: [
68
69
...List .filled (
69
70
5 ,
@@ -72,7 +73,6 @@ List<StudySpace> studySpaces = [
72
73
const OpeningHours .closed (),
73
74
const OpeningHours .closed (),
74
75
],
75
- pictureUrl: "assets/fine_arts.webp" ,
76
76
address: "855 S. University Ave" ,
77
77
buildingPosition:
78
78
const BuildingPosition (latitude: 42.274944 , longitude: - 83.738995 ),
@@ -82,6 +82,7 @@ List<StudySpace> studySpaces = [
82
82
),
83
83
StudySpace (
84
84
title: "Taubman Health Sciences Library" ,
85
+ id: "taubman" ,
85
86
openingHours: [
86
87
...List .filled (
87
88
5 ,
@@ -90,7 +91,6 @@ List<StudySpace> studySpaces = [
90
91
const OpeningHours .closed (),
91
92
const OpeningHours .closed (),
92
93
],
93
- pictureUrl: "assets/taubman.webp" ,
94
94
address: "1135 Catherine St" ,
95
95
buildingPosition:
96
96
const BuildingPosition (latitude: 42.283548 , longitude: - 83.734451 ),
@@ -100,6 +100,7 @@ List<StudySpace> studySpaces = [
100
100
),
101
101
StudySpace (
102
102
title: "Music Library" ,
103
+ id: "music" ,
103
104
openingHours: [
104
105
...List .filled (
105
106
5 ,
@@ -108,7 +109,6 @@ List<StudySpace> studySpaces = [
108
109
const OpeningHours .closed (),
109
110
const OpeningHours .closed (),
110
111
],
111
- pictureUrl: "assets/music.webp" ,
112
112
address: "1100 Baits Dr" ,
113
113
buildingPosition:
114
114
const BuildingPosition (latitude: 42.290373 , longitude: - 83.721006 ),
@@ -118,6 +118,7 @@ List<StudySpace> studySpaces = [
118
118
),
119
119
StudySpace (
120
120
title: "East Quad" ,
121
+ id: "east_quad" ,
121
122
openingHours: [
122
123
...List .filled (
123
124
5 ,
@@ -128,7 +129,6 @@ List<StudySpace> studySpaces = [
128
129
const OpeningHours .range (
129
130
TimeOfDay (hour: 9 , minute: 0 ), TimeOfDay (hour: 20 , minute: 0 )),
130
131
],
131
- pictureUrl: "assets/east_quad.webp" ,
132
132
address: "701 E. University" ,
133
133
buildingPosition: const BuildingPosition (
134
134
latitude: 42.272745760362035 , longitude: - 83.73550729385826 ),
@@ -137,21 +137,22 @@ List<StudySpace> studySpaces = [
137
137
areas: [
138
138
Area (
139
139
title: "Blue Cafe" ,
140
+ id: "blue_cafe" ,
140
141
floor: "Main" ,
141
142
indoor: true ,
142
- pictureUrl: 'assets/east_quad_blue_cafe.webp' ,
143
143
),
144
144
Area (
145
145
title: "Open Space" ,
146
+ id: "open_space" ,
146
147
floor: "Lower Level" ,
147
148
indoor: true ,
148
- pictureUrl: 'assets/east_quad_open_space.webp' ,
149
149
),
150
150
Area (
151
151
title: "Study Rooms" ,
152
+ id: "study_rooms" ,
152
153
floor: "Lower Level" ,
153
154
indoor: true ,
154
- pictureUrl : 'assets/image_coming_soon.webp' ,
155
+ hasImage : false ,
155
156
),
156
157
],
157
158
)
0 commit comments