almost working

This commit is contained in:
Henry Hiles 2026-04-20 13:52:42 -04:00
commit 58ef623f7c
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
7 changed files with 130 additions and 118 deletions

View file

@ -1,12 +1,12 @@
import "package:flight/src/rust/api/workspace_api.dart";
import "package:flutter_riverpod/flutter_riverpod.dart";
class WorkspacesController extends StreamNotifier<List<List<Workspace>>> {
class WorkspacesController extends StreamNotifier<List<List<WorkspaceDto>>> {
@override
Stream<List<List<Workspace>>> build() => listenWorkspaces();
Stream<List<List<WorkspaceDto>>> build() => listenWorkspaces();
static final provider =
StreamNotifierProvider<WorkspacesController, List<List<Workspace>>>(
StreamNotifierProvider<WorkspacesController, List<List<WorkspaceDto>>>(
WorkspacesController.new,
);
}