feat: move sensor details to sheet, implement placement on floor plan

This commit is contained in:
2026-05-14 17:22:26 +02:00
parent 90c946d710
commit 52605f1390
12 changed files with 655 additions and 218 deletions
-16
View File
@@ -57,28 +57,12 @@ final routerProvider = Provider<GoRouter>((ref) {
GoRoute(
path: '/floorplan',
builder: (context, state) => const FloorPlanScreen(),
routes: [
GoRoute(
path: 'sensors/:id',
builder: (context, state) => SensorDetailScreen(
sensorId: state.pathParameters['id']!,
),
),
],
),
]),
StatefulShellBranch(routes: [
GoRoute(
path: '/sensors',
builder: (context, state) => const SensorListScreen(),
routes: [
GoRoute(
path: ':id',
builder: (context, state) => SensorDetailScreen(
sensorId: state.pathParameters['id']!,
),
),
],
),
]),
StatefulShellBranch(routes: [