login.dart 621 B

123456789101112131415161718192021222324
  1. import 'package:flutter/material.dart';
  2. class Login extends StatelessWidget {
  3. /// Constructs a [DetailsScreen]
  4. const Login({Key? key}) : super(key: key);
  5. @override
  6. Widget build(BuildContext context) {
  7. return Scaffold(
  8. appBar: AppBar(title: const Text('Details Screen')),
  9. body: Center(
  10. child: Column(
  11. mainAxisAlignment: MainAxisAlignment.center,
  12. children: <ElevatedButton>[
  13. ElevatedButton(
  14. onPressed: () {print('x');},
  15. child: const Text('Go back to the Home screen'),
  16. ),
  17. ],
  18. ),
  19. ),
  20. );
  21. }
  22. }