import 'package:flutter/material.dart'; import 'package:primer_practica/src/pages/login_page.dart'; import 'package:primer_practica/src/pages/home_page.dart'; import 'package:primer_practica/src/pages/articles_page.dart'; Map<String, WidgetBuilder> getApplicationRoutes() { return <String, WidgetBuilder>{ 'login': (BuildContext context) => const LoginPage(), 'home': (BuildContext context) => const HomePage(), 'articles': (BuildContext context) => const ArticlesPage(), }; }