blob: 7510075e39f5af279a6b29739be58fd4f9d7f46a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import 'package:flutter/material.dart';
import 'package:pmsna1/screens/dashboard_screen.dart';
import 'package:pmsna1/screens/new_post_screen.dart';
import 'package:pmsna1/screens/onboarding_screen.dart';
import 'screens/login_screen.dart';
import 'screens/register_screen.dart';
Map<String, WidgetBuilder> getApplicationRoutes() {
return <String, WidgetBuilder>{
'/login': (BuildContext context) => const LoginScreen(),
'/register': (BuildContext context) => const RegisterScreen(),
'/onboard': (BuildContext context) => const OnboardingScreen(),
'/dash': (BuildContext context) => const DashboardScreen(),
'/new': (BuildContext context) => const NewPostScreen(),
};
}
|