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