暫無描述

main.dart 1.0KB

12345678910111213141516171819202122232425
  1. import 'package:fast_med_flutter/routes/home.dart';
  2. import 'package:fast_med_flutter/routes/ver_oficinas.dart';
  3. import 'package:fast_med_flutter/routes/ver_oficina.dart';
  4. import 'package:fast_med_flutter/routes/calendario.dart';
  5. import 'package:fast_med_flutter/routes/main.dart';
  6. import 'package:fast_med_flutter/routes/register.dart';
  7. import 'package:fast_med_flutter/routes/welcome.dart';
  8. import 'package:fast_med_flutter/routes/album.dart';
  9. import 'package:flutter/material.dart';
  10. import 'package:fast_med_flutter/routes/especialidades.dart';
  11. void main() => runApp(MaterialApp(
  12. initialRoute: '/home',
  13. routes: {
  14. '/home': (context) => Home(),
  15. '/verOficinas': (context) => VerOficinas(),
  16. '/ver/oficina': (context) => VerOficina(),
  17. '/calendario': (context) => Calendario(),
  18. '/welcome': (context) => WelcomePage(),
  19. '/register': (context) => RegisterPage(),
  20. '/MyApp': (context) => MyApp(),
  21. '/album': (context) => album(),
  22. '/especialidades': (context) => especialidades(),
  23. }
  24. ));