mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-09-22 13:14:08 +00:00
10 lines
300 B
Dart
10 lines
300 B
Dart
import 'package:flutter/foundation.dart';
|
|
|
|
class CustomChangeProvider with ChangeNotifier, DiagnosticableTreeMixin {
|
|
bool _isConnected = false;
|
|
bool get isConnected => _isConnected;
|
|
Future<void> updateConnectionState(bool update) async {
|
|
_isConnected = update;
|
|
notifyListeners();
|
|
}
|
|
}
|