12 lines
233 B
Dart
12 lines
233 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AuthState extends ChangeNotifier {
|
|
bool _isLoggedIn = false;
|
|
bool get isLoggedIn => _isLoggedIn;
|
|
|
|
void toggleLogin() {
|
|
_isLoggedIn = !_isLoggedIn;
|
|
notifyListeners();
|
|
}
|
|
}
|