diff --git a/assets/img/raumplan.jpg b/assets/img/raumplan.jpg new file mode 100644 index 0000000..a862db1 Binary files /dev/null and b/assets/img/raumplan.jpg differ diff --git a/lib/screen/pages/more/message/message.dart b/lib/screen/pages/more/message/message.dart index 0e210a1..5d28eb2 100644 --- a/lib/screen/pages/more/message/message.dart +++ b/lib/screen/pages/more/message/message.dart @@ -1,4 +1,5 @@ import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; class Message extends StatefulWidget { const Message({Key? key}) : super(key: key); @@ -10,6 +11,17 @@ class Message extends StatefulWidget { class _MessageState extends State<Message> { @override 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), + ); + }), + ); } } diff --git a/lib/screen/pages/more/roomplan/roomplan.dart b/lib/screen/pages/more/roomplan/roomplan.dart index 6ee68c7..8067cb9 100644 --- a/lib/screen/pages/more/roomplan/roomplan.dart +++ b/lib/screen/pages/more/roomplan/roomplan.dart @@ -1,10 +1,23 @@ import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; class Roomplan extends StatelessWidget { const Roomplan({Key? key}) : super(key: key); @override 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") + ), + ); } } diff --git a/pubspec.yaml b/pubspec.yaml index 5347ddf..58fda17 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -102,6 +102,7 @@ flutter: - assets/ca/ - assets/background/ - assets/logo/ + - assets/img/ # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/assets-and-images/#resolution-aware