almost working
This commit is contained in:
parent
97a7c43a93
commit
58ef623f7c
7 changed files with 130 additions and 118 deletions
|
|
@ -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,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue