Commit 6ccf4835 authored by wonko's avatar wonko

Re-Enables Bottom tabs

Initial version of campus plan
parent 303f5607
import 'package:flutter/material.dart';
import 'package:photo_view/photo_view.dart';
class CampusWidget extends StatelessWidget {
static Color color = Colors.amber;
......@@ -10,6 +12,10 @@ class CampusWidget extends StatelessWidget {
Widget build(BuildContext context) {
return Container(
color: color,
child: PhotoView(
enableRotation: true,
imageProvider: AssetImage("assets/graphics/lageplan.png"),
)
);
}
}
......@@ -27,7 +27,7 @@ class NoSHomePage extends StatefulWidget {
final String title;
@override
_NoS_Single_HomePageState createState() => _NoS_Single_HomePageState();
_NoSHomePageState createState() => _NoSHomePageState();
}
......
......@@ -40,6 +40,7 @@ class _ScheduleWidgetState extends State<ScheduleWidget>
return snapshot.hasData
? Stack(
children: <Widget>[
Padding(
padding: const EdgeInsets.only(top: 100.0),
child: TimesSlider(_timeScaleScrollController,
......@@ -164,7 +165,8 @@ class RoomSchedule extends StatelessWidget {
slivers: <Widget>[
SliverAppBar(
pinned: true,
expandedHeight: 100.0,
floating: false,
primary: false,
flexibleSpace: FlexibleSpaceBar(
centerTitle: true,
title: Text(room.name),
......
# Generated by pub
# See https://www.dartlang.org/tools/pub/glossary#lockfile
packages:
after_layout:
dependency: transitive
description:
name: after_layout
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.7+1"
archive:
dependency: transitive
description:
......@@ -151,6 +158,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.1"
photo_view:
dependency: "direct main"
description:
name: photo_view
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.3"
quiver:
dependency: transitive
description:
......
......@@ -27,6 +27,7 @@ dependencies:
path_provider: ^0.5.0
flutter_cache_manager: ^0.3.2
shared_preferences: ^0.5.2
photo_view:
dev_dependencies:
flutter_test:
sdk: flutter
......@@ -45,6 +46,8 @@ flutter:
assets:
- assets/data/
- assets/graphics/davinci_bg.png
- assets/graphics/lageplan.png
# To add assets to your application, add an assets section, like this:
......
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