refactor: move floor plan editor into own widget
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user