forked from Nexus/nexus
treewide(refactor): rename files to follow the same style
This commit is contained in:
parent
15d441e4c4
commit
7992f0e815
81 changed files with 167 additions and 167 deletions
14
lib/controllers/top_level_spaces.dart
Normal file
14
lib/controllers/top_level_spaces.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() => .new();
|
||||
|
||||
void set(IList<String> newSpaces) => state = newSpaces;
|
||||
|
||||
static final provider =
|
||||
NotifierProvider<TopLevelSpacesController, IList<String>>(
|
||||
TopLevelSpacesController.new,
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue