Start implementing screens for registering and logging in

This commit is contained in:
zontreck 2024-05-15 16:38:26 -07:00
parent 7ecfd336f6
commit 486318acac
5 changed files with 90 additions and 10 deletions

View file

@ -51,6 +51,11 @@ class Settings {
String PSK =
""; // This is not saved anywhere it is discarded when the application is unloaded.
bool loggedIn = false;
String userName = "";
String displayName = "";
int totalGridUsers = 0;
void setServices(Map<String, dynamic> js) {
var protocol = js['api']['protocol'] as String;
var port = js['api']['port'] as int;