Sin descripción

main.dart 932B

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