// profile_screen.dart import 'package:flutter/material.dart'; class ProfileScreen extends StatelessWidget { const ProfileScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text("Profile")), body: Center( child: ElevatedButton( onPressed: () { Navigator.pushNamed(context, '/'); }, child: const Text('Go to Home'), ), ), ); } }