Added base layout, launcher icons and splash screen

This commit is contained in:
2024-03-26 18:39:33 +01:00
parent 8feefc6e64
commit 59e47046ff
55 changed files with 564 additions and 196 deletions

29
lib/view/home.dart Normal file
View File

@ -0,0 +1,29 @@
import 'package:app/view/map.dart';
import 'package:flutter/material.dart';
class HomeView extends StatefulWidget {
const HomeView({super.key});
@override
State<HomeView> createState() => _HomePageState();
}
class _HomePageState extends State<HomeView> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: const Text("Bubatzkarte"),
actions: [],
),
floatingActionButton: FloatingActionButton(
child: const Icon(Icons.my_location),
onPressed: () {
},
),
body: MapView(),
);
}
}

15
lib/view/map.dart Normal file
View File

@ -0,0 +1,15 @@
import 'package:flutter/material.dart';
class MapView extends StatefulWidget {
const MapView({super.key});
@override
State<MapView> createState() => _MapViewState();
}
class _MapViewState extends State<MapView> {
@override
Widget build(BuildContext context) {
return const Placeholder();
}
}