import 'package:flutter/material.dart'; class Login extends StatelessWidget { /// Constructs a [DetailsScreen] const Login({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Details Screen')), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ ElevatedButton( onPressed: () {print('x');}, child: const Text('Go back to the Home screen'), ), ], ), ), ); } }