Commit b2c65e98 authored by wonko's avatar wonko

rudimentary styling of drawer

parent f5528fa0
......@@ -226,7 +226,7 @@ class Lecture {
@override
String toString() {
return "Lecture $id ${start} ${end}";
return "Lecture $id $start $end";
}
static DateTime fromDateandTime(DateTime date, String timeString) {
......
import 'package:flutter/material.dart';
//import 'news.dart';
//import 'tours.dart';
import 'campus.dart';
......@@ -37,7 +38,6 @@ class NoSHomePage extends StatefulWidget {
_NoSHomePageState createState() => _NoSHomePageState();
}
class _NoSHomePageState extends State<NoSHomePage> {
int _selectedIndex = 0;
LectureData lectureData = LectureData();
......@@ -51,14 +51,14 @@ class _NoSHomePageState extends State<NoSHomePage> {
@override
Widget build(BuildContext context) {
final double ratio = MediaQuery.of(context).devicePixelRatio;
final double height = MediaQuery.of(context).size.height;
final double width = MediaQuery.of(context).size.width;
final double pheight = ui.window.physicalSize.height;
final double pwidth = ui.window.physicalSize.width;
print("width: ${width}(${pwidth}) height: ${height}(${pheight}) ratio: $ratio");
print(
"width: $width($pwidth) height: $height($pheight) ratio: $ratio");
return Scaffold(
appBar: AppBar(
......
import 'package:flutter/material.dart';
import 'data.dart';
import 'graphics.dart';
class TimeslotSchedule extends StatefulWidget {
@override
_TimeSlotScheduleState createState() => _TimeSlotScheduleState();
}
class _TimeSlotScheduleState extends State<TimeslotSchedule> {
@override
Widget build(BuildContext context) {}
}
//class TimeRoster
\ No newline at end of file
......@@ -23,7 +23,7 @@ class Sponsors extends StatelessWidget {
List<Widget> logos() {
List<Widget> logos = [];
for (String image in sponsors) {
logos.add(Image.asset('assets/graphics/sponsors/${image}'));
logos.add(Image.asset('assets/graphics/sponsors/$image'));
}
return logos;
}
......
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