Added base layout, launcher icons and splash screen
This commit is contained in:
29
lib/view/home.dart
Normal file
29
lib/view/home.dart
Normal 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
15
lib/view/map.dart
Normal 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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user