Added basic Marianum Message and Roomplan in more section
This commit is contained in:
parent
254164a26c
commit
9b5a4f7029
BIN
assets/img/raumplan.jpg
Normal file
BIN
assets/img/raumplan.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter/cupertino.dart';
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class Message extends StatefulWidget {
|
class Message extends StatefulWidget {
|
||||||
const Message({Key? key}) : super(key: key);
|
const Message({Key? key}) : super(key: key);
|
||||||
@ -10,6 +11,17 @@ class Message extends StatefulWidget {
|
|||||||
class _MessageState extends State<Message> {
|
class _MessageState extends State<Message> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return const Text("Message");
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: const Text("Marianum Message"),
|
||||||
|
),
|
||||||
|
body: ListView.builder(itemBuilder: (context, index) {
|
||||||
|
return ListTile(
|
||||||
|
leading: const Icon(Icons.newspaper),
|
||||||
|
title: Text(index.toString()),
|
||||||
|
trailing: const Icon(Icons.arrow_right),
|
||||||
|
);
|
||||||
|
}),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,23 @@
|
|||||||
import 'package:flutter/cupertino.dart';
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class Roomplan extends StatelessWidget {
|
class Roomplan extends StatelessWidget {
|
||||||
const Roomplan({Key? key}) : super(key: key);
|
const Roomplan({Key? key}) : super(key: key);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return const Text("asd");
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text("Raumplan"),
|
||||||
|
),
|
||||||
|
backgroundColor: Colors.white,
|
||||||
|
body: InteractiveViewer(
|
||||||
|
panEnabled: true,
|
||||||
|
alignment: Alignment.center,
|
||||||
|
minScale: 0.8,
|
||||||
|
maxScale: 2,
|
||||||
|
child: Image.asset("assets/img/raumplan.jpg")
|
||||||
|
),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -102,6 +102,7 @@ flutter:
|
|||||||
- assets/ca/
|
- assets/ca/
|
||||||
- assets/background/
|
- assets/background/
|
||||||
- assets/logo/
|
- assets/logo/
|
||||||
|
- assets/img/
|
||||||
|
|
||||||
# An image asset can refer to one or more resolution-specific "variants", see
|
# An image asset can refer to one or more resolution-specific "variants", see
|
||||||
# https://flutter.dev/assets-and-images/#resolution-aware
|
# https://flutter.dev/assets-and-images/#resolution-aware
|
||||||
|
Loading…
x
Reference in New Issue
Block a user