You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
238 B
Dart
14 lines
238 B
Dart
2 years ago
|
class AppState {
|
||
|
static final AppState _instance = AppState._internal();
|
||
|
|
||
|
AppState._internal();
|
||
|
|
||
|
factory AppState() => _instance;
|
||
|
|
||
|
bool isLogged = false;
|
||
|
|
||
|
set setLogged(v) => isLogged = v;
|
||
|
|
||
|
bool get getIsLogged => isLogged;
|
||
|
}
|