31 lines
805 B
Dart
31 lines
805 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class MapScreen extends StatefulWidget {
|
|
const MapScreen({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
State<MapScreen> createState() => _MapScreenState();
|
|
}
|
|
|
|
class _MapScreenState extends State<MapScreen> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: const Text('Home'),
|
|
actions: <Widget>[
|
|
IconButton(
|
|
icon: const Icon(Icons.more_vert),
|
|
onPressed: () {
|
|
ScaffoldMessenger.of(context)
|
|
.showSnackBar(const SnackBar(content: Text('More')));
|
|
},
|
|
)
|
|
],
|
|
),
|
|
floatingActionButton: FloatingActionButton(
|
|
onPressed: () => {print("deez")}, child: const Icon(Icons.add)),
|
|
);
|
|
}
|
|
}
|