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
13
lib/controllers/client_state.dart
Normal file
13
lib/controllers/client_state.dart
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import "package:flutter_riverpod/flutter_riverpod.dart";
|
||||
import "package:nexus/models/client_state.dart";
|
||||
|
||||
class ClientStateController extends Notifier<ClientState?> {
|
||||
@override
|
||||
Null build() => null;
|
||||
|
||||
void set(ClientState newState) => state = newState;
|
||||
|
||||
static final provider = NotifierProvider<ClientStateController, ClientState?>(
|
||||
ClientStateController.new,
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue