No Description

main.dart 725B

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