Commit fc1e858c authored by wonko's avatar wonko

getting rid of warnings

parent 92ad8b3d
......@@ -77,7 +77,7 @@ class Lectures {
}
String toString() {
return ('version: ${version} rooms: ${rooms}');
return ('version: $version rooms: $rooms');
}
}
......@@ -107,7 +107,7 @@ class TimeSlot extends Comparable {
}
String toString() {
return ('${name} lecture:${lecture}');
return ('$name lecture:$lecture');
}
}
......@@ -126,7 +126,7 @@ class Room {
}
String toString() {
return ('room: ${name} times: ${timeSlots}');
return ('room: $name times: $timeSlots');
}
}
......
......@@ -66,7 +66,7 @@ class _ScheduleWidgetState extends State<ScheduleWidget>
class TimesSlider extends StatelessWidget {
final ScrollController _scrollController;
Room room;
final Room room;
TimesSlider(this._scrollController, this.room);
......@@ -92,7 +92,7 @@ class TimesSlider extends StatelessWidget {
class RoomSchedule extends StatelessWidget {
final ScrollController _scrollController;
Room room;
final Room room;
RoomSchedule(this._scrollController, final this.room);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment