No Description

main.dart 844B

123456789101112131415161718192021
  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/especialidades.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:flutter/material.dart';
  9. void main() => runApp(MaterialApp(
  10. initialRoute: '/home',
  11. routes: {
  12. '/home': (context) => Home(),
  13. '/verOficinas': (context) => VerOficinas(),
  14. '/calendario': (context) => Calendario(),
  15. '/welcome': (context) => WelcomePage(),
  16. '/register': (context) => RegisterPage(),
  17. '/MyApp': (context) => MyApp(),
  18. '/especialidades': (context) => especialidades(),
  19. }
  20. ));