dashboard
repositories
activity
search
login
APPS
/
PAILot
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
feat: StoreKit 2 IAP — free tier with 2 sessions and 15min message TTL
Matthias Nott
2026-04-01
98e5695f9c77c594a103e9e81128798d41bae46a
[APPS/PAILot.git]
/
lib
/
router.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import 'package:go_router/go_router.dart';
import 'screens/chat_screen.dart';
import 'screens/settings_screen.dart';
import 'screens/navigate_screen.dart';
GoRouter createRouter() {
return GoRouter(
initialLocation: '/chat',
routes: [
GoRoute(
path: '/chat',
builder: (context, state) => const ChatScreen(),
),
GoRoute(
path: '/settings',
builder: (context, state) => const SettingsScreen(),
),
GoRoute(
path: '/navigate',
builder: (context, state) => const NavigateScreen(),
),
],
);
}