wip
This commit is contained in:
parent
97f2673b55
commit
c084bc4caf
12 changed files with 182 additions and 156 deletions
14
lib/controllers/top_level_spaces_controller.dart
Normal file
14
lib/controllers/top_level_spaces_controller.dart
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:flutter_riverpod/flutter_riverpod.dart";
|
||||
|
||||
class TopLevelSpacesController extends Notifier<IList<String>> {
|
||||
@override
|
||||
IList<String> build() => const IList.empty();
|
||||
|
||||
void set(IList<String> newSpaces) => state = newSpaces;
|
||||
|
||||
static final provider =
|
||||
NotifierProvider<TopLevelSpacesController, IList<String>>(
|
||||
TopLevelSpacesController.new,
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue