Brak opisu

main.dart 1.1KB

12345678910111213141516171819202122232425262728
  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. import 'routes/translation.dart';
  12. void main() => runApp(MaterialApp(
  13. initialRoute: '/welcome',
  14. routes: {
  15. '/home': (context) => Home(),
  16. '/verOficinas': (context) => VerOficinas(),
  17. '/ver/oficina': (context) => VerOficina(),
  18. '/calendario': (context) => Calendario(),
  19. '/welcome': (context) => WelcomePage(),
  20. '/register': (context) => RegisterPage(),
  21. '/MyApp': (context) => MyApp(),
  22. '/album': (context) => album(),
  23. '/especialidades': (context) => especialidades(),
  24. '/translation': (context) => translation(),
  25. }
  26. ));