30 lines
678 B
Dart
30 lines
678 B
Dart
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(),
|
|
);
|
|
}
|
|
}
|