21 lines
557 B
Dart
21 lines
557 B
Dart
|
import 'package:go_router/go_router.dart';
|
||
|
import 'package:solaragent/screens/account.dart';
|
||
|
import 'package:solaragent/screens/dashboard.dart';
|
||
|
import 'package:solaragent/screens/notifications.dart';
|
||
|
|
||
|
final router = GoRouter(
|
||
|
routes: [
|
||
|
GoRoute(
|
||
|
path: '/',
|
||
|
builder: (context, state) => const DashboardScreen(),
|
||
|
),
|
||
|
GoRoute(
|
||
|
path: '/notifications',
|
||
|
builder: (context, state) => const NotificationScreen(),
|
||
|
),
|
||
|
GoRoute(
|
||
|
path: '/account',
|
||
|
builder: (context, state) => const AccountScreen(),
|
||
|
)
|
||
|
],
|
||
|
);
|