refactor: move floor plan editor into own widget

This commit is contained in:
2026-05-13 12:49:30 +02:00
parent 7bf3aa29ea
commit 4e670e1aba
9 changed files with 448 additions and 218 deletions
+8
View File
@@ -58,6 +58,14 @@ 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: [