Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ConnectivityProvider.dart 429B

123456789101112131415161718192021
  1. import 'package:flutter/material.dart';
  2. class ConnectivityProvider with ChangeNotifier{
  3. /*Connectivity
  4. ConnectivityProvider _connectivityProvider = new ConnectivityProvider();
  5. late bool _isOnline;
  6. bool get isOnline => _isOnline;
  7. startMonitoring() async {
  8. }
  9. Future<void> initConnectivity() async {
  10. try {
  11. var connectivityResult = await (Connectivity().checkConnectivity());
  12. } catch {
  13. }
  14. }*/
  15. }