import 'package:flutter/material.dart'; class MapScreen extends StatefulWidget { const MapScreen({Key? key}) : super(key: key); @override State createState() => _MapScreenState(); } class _MapScreenState extends State { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('Home'), actions: [ 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)), ); } }