dashboard
repositories
activity
search
login
APPS
/
PAILot
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
fix: increase MQTT keepalive to 120s to prevent iOS network throttle drops
Matthias Nott
9 days ago
489419f3b133c4725d1ffdf5fb320898a55e9544
[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(),
),
],
);
}