main.dart 472 B

12345678910111213141516171819202122232425262728
  1. import 'package:flutter/material.dart';
  2. import 'home_page.dart';
  3. import 'email.dart';
  4. void main() {
  5. runApp(const HyM());
  6. }
  7. class HyM extends StatelessWidget {
  8. const HyM({super.key});
  9. @override
  10. Widget build(BuildContext context){
  11. return MaterialApp(
  12. debugShowCheckedModeBanner: false,
  13. theme: ThemeData.dark(),
  14. title: 'HyM',
  15. home: const HomePage(),
  16. routes: {
  17. "/email": (context) => EmailPage(),
  18. },
  19. );
  20. }
  21. }